boot

package
v0.0.0-...-15b0c83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL