Documentation ¶
Index ¶
- Constants
- type BunComponent
- func (c *BunComponent) Bun() *bun.DB
- func (c *BunComponent) Flags(r *components.Registry) []cli.Flag
- func (c *BunComponent) Health(context context.Context) error
- func (c *BunComponent) Init(r *components.Registry, cli *cli.Context) error
- func (c *BunComponent) Initialized() bool
- func (c *BunComponent) Name() string
- func (c *BunComponent) Priority() int
- func (c *BunComponent) Stop() error
Constants ¶
View Source
const Name = "bun"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BunComponent ¶
type BunComponent struct {
// contains filtered or unexported fields
}
func MustReg ¶
func MustReg(cReg *components.Registry) *BunComponent
func New ¶
func New() *BunComponent
func (*BunComponent) Bun ¶
func (c *BunComponent) Bun() *bun.DB
func (*BunComponent) Flags ¶
func (c *BunComponent) Flags(r *components.Registry) []cli.Flag
func (*BunComponent) Health ¶
func (c *BunComponent) Health(context context.Context) error
func (*BunComponent) Init ¶
func (c *BunComponent) Init(r *components.Registry, cli *cli.Context) error
func (*BunComponent) Initialized ¶
func (c *BunComponent) Initialized() bool
func (*BunComponent) Name ¶
func (c *BunComponent) Name() string
func (*BunComponent) Priority ¶
func (c *BunComponent) Priority() int
func (*BunComponent) Stop ¶
func (c *BunComponent) Stop() error
Click to show internal directories.
Click to hide internal directories.