Documentation
¶
Index ¶
Constants ¶
View Source
const ( // GrpcPriority 如果停止需要有顺序依赖通过这里自定义priority处理 GrpcPriority = -1 DefaultPriority = 1 AsyncTaskPriority = 2 DBPriority = 3 )
Variables ¶
This section is empty.
Functions ¶
func AddContainer ¶
func AddContainer(service LoaderService)
func InitAllService ¶
func InitAllService() error
func StopAllService ¶
func StopAllService()
Types ¶
type LoaderService ¶
type LoaderServiceSlice ¶
type LoaderServiceSlice []*LoaderService
func (LoaderServiceSlice) Len ¶
func (p LoaderServiceSlice) Len() int
func (LoaderServiceSlice) Less ¶
func (p LoaderServiceSlice) Less(i, j int) bool
func (LoaderServiceSlice) Swap ¶
func (p LoaderServiceSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.