goworld: github.com/xiaonanln/goworld/engine/binutil Index | Files

package binutil

import "github.com/xiaonanln/goworld/engine/binutil"

Index

Package Files

binutil.go unix.go

func Daemonize Uses

func Daemonize() *daemon.Context

func SetupGWLog Uses

func SetupGWLog(component string, logLevel string, logFile string, logStderr bool)

SetupGWLog setup the GoWord log system

func SetupHTTPServer Uses

func SetupHTTPServer(ip string, port int, wsHandler func(ws *websocket.Conn))

SetupHTTPServer starts the HTTP server for go tool pprof and websockets

func SetupHTTPServerTLS Uses

func SetupHTTPServerTLS(ip string, port int, wsHandler func(ws *websocket.Conn), certFile string, keyFile string)

SetupHTTPServerTLS starts the HTTPs server for go tool pprof and websockets

Package binutil imports 8 packages (graph) and is imported by 3 packages. Updated 2017-11-18. Refresh now. Tools for package owners.