boot

package
v2.0.61 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootFunc added in v2.0.23

type BootFunc func(ctx context.Context, app app.IRuntime) error

type IBootstrap

type IBootstrap interface {
	Before(before ...BootFunc) IBootstrap
	Process(boots ...Initialize) IBootstrap
	After(after ...BootFunc) IBootstrap
	Run() error
}

type Initialize

type Initialize interface {
	String() string
	Init(ctx context.Context, app app.IRuntime) error
}

type QueueInitialize

type QueueInitialize interface {
	Initialize
	GetQueue(ctx context.Context) (map[string]queue.IQueue, error)
}

Jump to

Keyboard shortcuts

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