Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HookRegistry ¶
type HookRegistry struct {
// contains filtered or unexported fields
}
func NewHookRegistry ¶
func NewHookRegistry(logger *log.Logger) *HookRegistry
func (*HookRegistry) Add ¶
func (h *HookRegistry) Add(hooks ...*pkg.Hook)
func (*HookRegistry) Readiness ¶
func (h *HookRegistry) Readiness() *gohook.Hook
Readiness returns the readiness hook It is used to check if the module is ready to serve requests It is not used for the readiness probe The readiness probe is implemented in the module itself
func (*HookRegistry) SetReadinessHook ¶
func (h *HookRegistry) SetReadinessHook(hook *pkg.Hook)
Click to show internal directories.
Click to hide internal directories.