common

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbFlags map[string]bool
View Source
var DbOn *map[string]bool
View Source
var GitCommit string

Functions

func GetDbOn

func GetDbOn() *map[string]bool

func HandleConfig

func HandleConfig(www http.ResponseWriter, req *http.Request)

func HandleExitServer

func HandleExitServer(www http.ResponseWriter, req *http.Request)

HandleExitServer - graceful server shutdown.

func HandleKick

func HandleKick(www http.ResponseWriter, req *http.Request)

HandleKick - server to respond with a working message if up.

func HandleListDbFlags

func HandleListDbFlags(www http.ResponseWriter, req *http.Request)

func HandleSetDbFlags

func HandleSetDbFlags(www http.ResponseWriter, req *http.Request)

func SetDbOn

func SetDbOn(x *map[string]bool)

func Setup

func Setup(cfg *ymux.BaseConfigType, dbf map[string]bool, lfp *os.File, gt string, hl *[]*http.Server, st time.Duration)

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Types

This section is empty.

Jump to

Keyboard shortcuts

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