Documentation
¶
Index ¶
- Constants
- func HandleUserCmd(cmd string, pidFile string) error
- func StartConsole(confFile, pidFile string, boot func(*config.Config) error, ...) error
- func StartHttp(confFile, pidFile string, boot func(config *config.Config) error, ...) error
- func StartJob(confFile, pidFile string, boot func(*config.Config) error, ...) error
- func Stop()
Constants ¶
View Source
const ( Version = "1.0" BuildCommit = "" BuildDate = "" )
Variables ¶
This section is empty.
Functions ¶
func HandleUserCmd ¶
HandleUserCmd use to stop/reload the proxy service
func StartConsole ¶
func StartConsole(confFile, pidFile string, boot func(*config.Config) error, registerSchedule func(*cron.Cron)) error
Start Cron Schedule
func StartHttp ¶
func StartHttp(confFile, pidFile string, boot func(config *config.Config) error, registerRoute func(*gin.Engine)) error
Start proxy with config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.