Documentation
¶
Index ¶
- type Registry
- func (r *Registry) Executors() []executor.Executor
- func (r *Registry) Readiness() executor.Executor
- func (r *Registry) RegisterAppHooks(hooks ...pkg.Hook[*pkg.ApplicationHookInput])
- func (r *Registry) RegisterModuleHooks(hooks ...pkg.Hook[*pkg.HookInput])
- func (r *Registry) SetReadinessHook(h pkg.Hook[*pkg.HookInput])
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) Readiness ¶
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 (*Registry) RegisterAppHooks ¶
func (r *Registry) RegisterAppHooks(hooks ...pkg.Hook[*pkg.ApplicationHookInput])
func (*Registry) RegisterModuleHooks ¶
Click to show internal directories.
Click to hide internal directories.