Documentation ¶
Index ¶
- type CmdParam
- type Jewel
- func (jewel *Jewel) AddAsyncFun(fun func(injector *inject.Injector)) *Jewel
- func (jewel *Jewel) AddBean(beans ...interface{}) *Jewel
- func (jewel *Jewel) AddBeanProperties(properties ...interface{}) *Jewel
- func (jewel *Jewel) AddPlugins(plugins ...context.Plugin)
- func (jewel *Jewel) AddSyncFun(fun func(injector *inject.Injector)) *Jewel
- func (jewel *Jewel) AddTask(name, cron string, fun func()) *Jewel
- func (jewel *Jewel) Boot() *context.Boot
- func (jewel *Jewel) Cmd(name, help string, fun func()) *kingpin.CmdClause
- func (jewel *Jewel) HttpStart(httpFun func(router *gin.RouterGroup, injector *inject.Injector))
- func (jewel *Jewel) KingpinApp() *kingpin.Application
- func (jewel *Jewel) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jewel ¶
type Jewel struct {
// contains filtered or unexported fields
}
func (*Jewel) AddAsyncFun ¶
func (*Jewel) AddBeanProperties ¶
func (*Jewel) AddPlugins ¶
func (*Jewel) AddSyncFun ¶
func (*Jewel) HttpStart ¶
func (jewel *Jewel) HttpStart(httpFun func(router *gin.RouterGroup, injector *inject.Injector))
func (*Jewel) KingpinApp ¶
func (jewel *Jewel) KingpinApp() *kingpin.Application
Click to show internal directories.
Click to hide internal directories.