Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
func Do(s []Bootloader) (err error)
func MustBoot ¶
func MustBoot(s []Bootloader)
Types ¶
type Bootloader ¶
type Bootloader interface {
Boot() error
}
type BootloaderWrapperBootloader ¶
type BootloaderWrapperBootloader struct {
// contains filtered or unexported fields
}
func BootloaderWrapper ¶
func BootloaderWrapper(f func() Bootloader) *BootloaderWrapperBootloader
func (*BootloaderWrapperBootloader) Boot ¶
func (b *BootloaderWrapperBootloader) Boot() error
type ConfigBootloader ¶
type ConfigBootloader struct {
// contains filtered or unexported fields
}
func NewConfigBootloader ¶
func NewConfigBootloader(filename string, fns ...func(*config.Config) error) *ConfigBootloader
func (ConfigBootloader) Boot ¶
func (c ConfigBootloader) Boot() error
type EventSubscribeBootloader ¶
type EventSubscribeBootloader struct { Events []event.Subscriber // contains filtered or unexported fields }
func NewEventSubscribeBootloader ¶
func NewEventSubscribeBootloader(b event.Bus, events []event.Subscriber) *EventSubscribeBootloader
func (*EventSubscribeBootloader) Boot ¶
func (b *EventSubscribeBootloader) Boot() error
type FuncWrapperBootloader ¶
type FuncWrapperBootloader struct {
// contains filtered or unexported fields
}
func FuncWrapper ¶
func FuncWrapper(f func() error) *FuncWrapperBootloader
func (*FuncWrapperBootloader) Boot ¶
func (b *FuncWrapperBootloader) Boot() error
type JaegerTracerBootloader ¶
type JaegerTracerBootloader struct { }
func NewJaegerTracerBootloader ¶
func NewJaegerTracerBootloader() *JaegerTracerBootloader
func (JaegerTracerBootloader) Boot ¶
func (sb JaegerTracerBootloader) Boot() error
type LoggerBootloader ¶
type LoggerBootloader struct { }
func NewLoggerBootloader ¶
func NewLoggerBootloader() *LoggerBootloader
func (LoggerBootloader) Boot ¶
func (sb LoggerBootloader) Boot() error
type ValidatorBootloader ¶
type ValidatorBootloader struct { }
func NewValidatorBootloader ¶
func NewValidatorBootloader() *ValidatorBootloader
func (ValidatorBootloader) Boot ¶
func (sb ValidatorBootloader) Boot() error
Click to show internal directories.
Click to hide internal directories.