Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableExecute ¶ added in v1.0.40
Types ¶
type BaseJobData ¶ added in v1.0.6
type BaseJobData struct {
Identity string `json:"identity"`
}
type CostTime ¶ added in v1.0.26
func NewCostTime ¶ added in v1.0.26
func NewCostTime() *CostTime
func (*CostTime) GetMillionSecond ¶ added in v1.0.26
type ExecHistory ¶ added in v1.0.25
type ServiceEntity ¶
func NewService ¶
func NewService(TaskName string, Config *viper.Viper) *ServiceEntity
func (*ServiceEntity) GetConfig ¶ added in v0.0.14
func (g *ServiceEntity) GetConfig() *viper.Viper
func (*ServiceEntity) GetMongoClient ¶ added in v1.0.12
func (g *ServiceEntity) GetMongoClient() *mongo.Client
func (*ServiceEntity) GetRegisterInfo ¶
func (g *ServiceEntity) GetRegisterInfo() *JobInfo
func (*ServiceEntity) GetTaskName ¶ added in v0.0.14
func (g *ServiceEntity) GetTaskName() string
Click to show internal directories.
Click to hide internal directories.