MCPcopy Index your code

hub / github.com/alexliesenfeld/health / types & classes

Types & classes22 in github.com/alexliesenfeld/health

↓ 1 callersTypeAliasAvailabilityStatus
AvailabilityStatus expresses the availability of either a component or the whole system.
check.go:139
StructCheck
Check allows to configure health checks.
config.go:10
StructCheckResult
CheckResult holds a components health information. Attention: This type is converted from/to JSON using a custom marshalling/unmarshalling function (s
check.go:113
StructCheckState
CheckState represents the current state of a component check.
check.go:78
InterfaceChecker
Checker is the main checker interface. It provides all health checking logic.
check.go:47
FuncTypeCheckerOption
CheckerOption is a configuration option for a Checker.
config.go:48
StructCheckerResult
CheckerResult holds the aggregated system availability status and detailed information about the individual checks.
check.go:97
StructCheckerState
CheckerState represents the current state of the Checker.
check.go:70
StructHandlerConfig
handler.go:10
FuncTypeHandlerOption
HandlerOption is a configuration option for a Handler (see NewHandler).
config.go:51
FuncTypeInterceptor
Interceptor is factory function that allows creating new instances of a InterceptorFunc. The concept behind Interceptor is similar to the middleware p
check.go:131
FuncTypeInterceptorFunc
InterceptorFunc is an interceptor function that intercepts any call to a components health check function.
check.go:135
StructJSONResultWriter
JSONResultWriter writes a CheckerResult in JSON format into an http.ResponseWriter. This ResultWriter is set by default.
handler.go:46
FuncTypeMiddleware
Middleware is factory function that allows creating new instances of a MiddlewareFunc. A MiddlewareFunc is expected to forward the function call to th
handler.go:24
FuncTypeMiddlewareFunc
MiddlewareFunc is a middleware for a health Handler (see NewHandler). It is invoked each time an HTTP request is processed.
handler.go:28
InterfaceResultWriter
ResultWriter enabled a Handler (see NewHandler) to write the CheckerResult to an http.ResponseWriter in a specific format. For example, the JSONResult
handler.go:33
StructcheckResult
check.go:35
StructcheckerConfig
check.go:13
StructcheckerMock
handler_test.go:18
StructdefaultChecker
check.go:25
StructjsonCheckResult
check.go:40
StructresultWriterMock
handler_test.go:42