Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DaemonSchedulerLoopExample = new(SchedulerLoopExample)
View Source
var DaemonSetupDatabase = &SetupDatabase{}
View Source
var DaemonSetupEnvironment = &SetupEnvironment{}
View Source
var DaemonSetupHttpSession = &SetupHttpSession{}
View Source
var DaemonSetupLaunchService = &SetupLaunchService{}
View Source
var DaemonSetupLogger = &SetupLogger{}
View Source
var DaemonSetupProfiler = &SetupProfiler{}
View Source
var DaemonSetupRedis = &SetupRedis{}
View Source
var DaemonSetupStdoutCatch = &SetupStdoutCatch{}
View Source
var DaemonSetupUpDown = &SetupUpDown{}
View Source
var DaemonTimerLoopExample = new(TimerLoopExample)
Functions ¶
This section is empty.
Types ¶
type SchedulerLoopExample ¶ added in v1.1.0
type SchedulerLoopExample struct {
kkdaemon.DefaultSchedulerDaemon
}
func (*SchedulerLoopExample) Loop ¶ added in v1.1.0
func (d *SchedulerLoopExample) Loop() error
func (*SchedulerLoopExample) Registered ¶ added in v1.1.0
func (d *SchedulerLoopExample) Registered() error
func (*SchedulerLoopExample) Start ¶ added in v1.1.0
func (d *SchedulerLoopExample) Start()
func (*SchedulerLoopExample) Stop ¶ added in v1.1.0
func (d *SchedulerLoopExample) Stop(sig os.Signal)
func (*SchedulerLoopExample) When ¶ added in v1.1.0
func (d *SchedulerLoopExample) When() kkdaemon.CronSyntax
type SetupDatabase ¶
type SetupDatabase struct {
kkdaemon.DefaultDaemon
}
func (*SetupDatabase) Start ¶
func (d *SetupDatabase) Start()
type SetupEnvironment ¶
type SetupEnvironment struct {
kkdaemon.DefaultDaemon
}
func (*SetupEnvironment) Start ¶
func (d *SetupEnvironment) Start()
type SetupHttpSession ¶
type SetupHttpSession struct {
kkdaemon.DefaultDaemon
}
func (*SetupHttpSession) Start ¶
func (d *SetupHttpSession) Start()
type SetupLaunchService ¶
type SetupLaunchService struct {
kkdaemon.DefaultDaemon
}
func (*SetupLaunchService) Start ¶
func (d *SetupLaunchService) Start()
func (*SetupLaunchService) Stop ¶
func (d *SetupLaunchService) Stop(sig os.Signal)
type SetupLogger ¶
type SetupLogger struct {
kkdaemon.DefaultDaemon
}
func (*SetupLogger) Start ¶
func (d *SetupLogger) Start()
type SetupProfiler ¶
type SetupProfiler struct {
kkdaemon.DefaultDaemon
}
func (*SetupProfiler) Start ¶
func (d *SetupProfiler) Start()
type SetupRedis ¶
type SetupRedis struct {
kkdaemon.DefaultDaemon
}
func (*SetupRedis) Start ¶
func (d *SetupRedis) Start()
type SetupStdoutCatch ¶
type SetupStdoutCatch struct {
kkdaemon.DefaultDaemon
}
func (*SetupStdoutCatch) Start ¶
func (d *SetupStdoutCatch) Start()
type SetupUpDown ¶
type SetupUpDown struct {
kkdaemon.DefaultDaemon
}
func (*SetupUpDown) Start ¶
func (d *SetupUpDown) Start()
func (*SetupUpDown) Stop ¶
func (d *SetupUpDown) Stop(sig os.Signal)
type TimerLoopExample ¶ added in v1.1.0
type TimerLoopExample struct {
kkdaemon.DefaultTimerDaemon
}
func (*TimerLoopExample) Interval ¶ added in v1.1.0
func (d *TimerLoopExample) Interval() time.Duration
func (*TimerLoopExample) Loop ¶ added in v1.1.0
func (d *TimerLoopExample) Loop() error
func (*TimerLoopExample) Registered ¶ added in v1.1.0
func (d *TimerLoopExample) Registered() error
func (*TimerLoopExample) Start ¶ added in v1.1.0
func (d *TimerLoopExample) Start()
func (*TimerLoopExample) Stop ¶ added in v1.1.0
func (d *TimerLoopExample) Stop(sig os.Signal)
Click to show internal directories.
Click to hide internal directories.