Versions in this module Expand all Collapse all v0 v0.5.0 Apr 6, 2023 Changes in this version + type Base struct + func (c *Base) AfterInit() + func (c *Base) BeforeShutdown() + func (c *Base) Init() + func (c *Base) Shutdown() + type CompWithOptions struct + Comp Component + Opts []Option + type Component interface + AfterInit func() + BeforeShutdown func() + Init func() + Shutdown func() + type Components struct + func (cs *Components) List() []CompWithOptions + func (cs *Components) Register(c Component, options ...Option) + type Handler struct + IsRawArg bool + Method reflect.Method + Receiver reflect.Value + Type reflect.Type + type Option func(options *options) + func WithName(name string) Option + func WithNameFunc(fn func(string) string) Option + func WithSchedulerName(name string) Option + type Service struct + Handlers map[string]*Handler + Name string + Options options + Receiver reflect.Value + SchedName string + Type reflect.Type + func NewService(comp Component, opts []Option) *Service + func (s *Service) ExtractHandler() error