Documentation ¶
Index ¶
- func BeforeWait(funcs ...any)
- func Boot() (err error)
- func RegisterMigrates(ms ...any)
- func RegisterSeeds(ss ...any)
- func Start(wg *sync.WaitGroup) (n int)
- func StartAndWait() (err error)
- func Stop()
- func Use(modules ...Module)
- type Bootable
- type HasName
- type HasSubModule
- type Initable
- type IsModule
- type Module
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMigrates ¶
func RegisterMigrates(ms ...any)
func RegisterSeeds ¶
func RegisterSeeds(ss ...any)
func StartAndWait ¶
func StartAndWait() (err error)
Types ¶
type HasSubModule ¶
HasSubModule 接口表示模块可以包含子模块
Click to show internal directories.
Click to hide internal directories.