binutil

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 7 Imported by: 113

Documentation

Index

Constants

View Source
const (
	// FreezeSignal syscall used to freeze server
	FreezeSignal = syscall.SIGHUP
)

Variables

This section is empty.

Functions

func Daemonize added in v0.1.1

func Daemonize() *daemon.Context

func PrintSupervisorTag added in v0.1.4

func PrintSupervisorTag(tag string)

func SetupGWLog

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

SetupGWLog setup the GoWord log system

func SetupHTTPServer

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

SetupHTTPServer starts the HTTP server for go tool pprof and websockets

func SetupHTTPServerTLS

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL