package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

NewController returns a new controller.
NewFreeform returns a new freeform check aggregator.
NewTrackedAction returns a new tracked action.
NewTrackedActionAggregator returns a new tracked action aggregator.
OptCheck adds an sla check for a given service.
OptConfig returns an option that sets the configmeta.
OptFreeformLog sets the logger.
OptFreeformTimeout sets the timeout.
OptLog returns an option that sets the logger.
OptMiddleware adds default middleware for the status routes.
OptTimeout returns an option that sets checks timeout.
OptTrackedActionConfig sets the tracked action config.
OptUseBareMethods returns an option that sets if we should use bare methods.

# Constants

DefaultFreeformTimeout is a timeout.
DefaultRedRequestCount is the default tracker red request count.
5% or 500 bps.
DefaultTrackedActionExpiration is the default tracker expiration.
DefaultYellowRequestCount is the default tracker yellow request count.
0.5% or 50 bps.
Errors.
Signal constants.
Signal constants.
Signal constants.
Signal constants.

# Structs

Controller is a handler for the status endpoint.
Details holds the details about the status results.
ErrorInfo is a type.
Freeform holds sla check actions.
Info wraps tracked details.
RequestInfo is a type.
TrackedAction is a wrapper for action that tracks a rolling window of history based on the configured expiration.
TrackedActionAggregator aggregates tracker results.
TrackedActionConfig is the configuration for the tracker.
TrackedActionsResult are tracked actions details.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ControllerOption mutates a controller.
FreeformOption mutates a freeform check.
FreeformResult is a json result from the freeform check.
Signal is a status signal.
TrackedActionOption mutates a tracked action.