Documentation ¶
Index ¶
- Constants
- func Daemonize() *daemon.Context
- func PrintSupervisorTag(tag string)
- func SetupGWLog(component string, logLevel string, logFile string, logStderr bool)
- func SetupHTTPServer(ip string, port int, wsHandler func(ws *websocket.Conn))
- func SetupHTTPServerTLS(ip string, port int, wsHandler func(ws *websocket.Conn), certFile string, ...)
Constants ¶
View Source
const ( // FreezeSignal syscall used to freeze server FreezeSignal = syscall.SIGHUP )
Variables ¶
This section is empty.
Functions ¶
func PrintSupervisorTag ¶ added in v0.1.4
func PrintSupervisorTag(tag string)
func SetupGWLog ¶
SetupGWLog setup the GoWord log system
func SetupHTTPServer ¶
SetupHTTPServer starts the HTTP server for go tool pprof and websockets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.