daemon

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "Dioxy"
	VER  = "1.0.0"
	DESC = "Aggregating proxy for MQTT broker in JSON format"
)

Basic info

View Source
const (
	OPT_CONFIG   = "c:config"
	OPT_NO_COLOR = "nc:no-color"
	OPT_HELP     = "h:help"
	OPT_VERSION  = "v:version"
)

Options

View Source
const (
	HTTP_IP              = "http:ip"
	HTTP_PORT            = "http:port"
	MQTT_IP              = "mqtt:ip"
	MQTT_PORT            = "mqtt:port"
	MQTT_USER            = "mqtt:user"
	MQTT_PASSWORD        = "mqtt:password"
	MQTT_TOPIC           = "mqtt:topic"
	STORE_TTL            = "store:ttl"
	STORE_CLEAN_INTERVAL = "store:clean-interval"
	LOG_DIR              = "log:dir"
	LOG_FILE             = "log:file"
	LOG_PERMS            = "log:perms"
	LOG_LEVEL            = "log:level"
)

Configuration file props

View Source
const (
	PID_DIR  = "/var/run/dioxy"
	PID_FILE = "dioxy.pid"
)

Pid info

Variables

This section is empty.

Functions

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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