Documentation
¶
Index ¶
Constants ¶
View Source
const NOTOK = "NOT OK"
View Source
const OK = "OK"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CachedResponses ¶ added in v0.1.3
type CachedResponses struct {
// contains filtered or unexported fields
}
func NewCachedResponses ¶ added in v0.1.3
func NewCachedResponses(ctx context.Context, cfg *config.Healthcheck) *CachedResponses
func (*CachedResponses) Response ¶ added in v0.1.3
func (ch *CachedResponses) Response() map[string]any
func (*CachedResponses) Status ¶ added in v0.1.3
func (ch *CachedResponses) Status() int
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.