bootstrap

package
v0.3.0-alpha-3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: AGPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCheckUpdate added in v0.2.4

func InitCheckUpdate(ctx context.Context) error

func InitConfig

func InitConfig(ctx context.Context) error

func InitDatabase added in v0.3.0

func InitDatabase(ctx context.Context) error

func InitDefaultConfig added in v0.2.4

func InitDefaultConfig(ctx context.Context) error

func InitDiscardLog added in v0.3.0

func InitDiscardLog(ctx context.Context) error

func InitGinMode added in v0.2.4

func InitGinMode(ctx context.Context) error

func InitLog

func InitLog(ctx context.Context) error

func InitOp added in v0.3.0

func InitOp(ctx context.Context) error

func InitProvider added in v0.3.0

func InitProvider(ctx context.Context) error

func InitRtmp added in v0.3.0

func InitRtmp(ctx context.Context) error

func InitSetting added in v0.3.0

func InitSetting(ctx context.Context) error

func InitStdLog added in v0.2.4

func InitStdLog(ctx context.Context) error

func InitSysNotify

func InitSysNotify(ctx context.Context) error

func InitVendor added in v0.3.0

func InitVendor(ctx context.Context) error

Types

type Bootstrap added in v0.2.4

type Bootstrap struct {
	// contains filtered or unexported fields
}

func New added in v0.2.4

func New(conf ...BootstrapConf) *Bootstrap

func (*Bootstrap) Add added in v0.2.4

func (b *Bootstrap) Add(f ...BootstrapFunc) *Bootstrap

func (*Bootstrap) Run added in v0.2.4

func (b *Bootstrap) Run() error

type BootstrapConf added in v0.2.4

type BootstrapConf func(*Bootstrap)

func WithContext added in v0.2.4

func WithContext(ctx context.Context) BootstrapConf

func WithTask added in v0.2.4

func WithTask(f ...BootstrapFunc) BootstrapConf

type BootstrapFunc added in v0.2.4

type BootstrapFunc func(context.Context) error

Jump to

Keyboard shortcuts

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