daemon

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "Sonar"
	VER  = "1.8.2"
	DESC = "Utility for showing user Slack status in JIRA"
)

Basic info

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

	OPT_VERB_VER = "vv:verbose-version"
)

Options

View Source
const (
	MAIN_ENABLED  = "main:enabled"
	MAIN_MAPPINGS = "main:mappings"
	MAIN_BOTS     = "main:bots"
	MAIN_TOKEN    = "main:token"
	SLACK_TOKEN   = "slack:token"
	HTTP_IP       = "http:ip"
	HTTP_PORT     = "http:port"
	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/sonar"
	PID_FILE = "sonar.pid"
)

Pid info

View Source
const (
	COLOR_ONLINE = "#6DC185"
	COLOR_DND    = "#E7505A"
)

Bullets colors

View Source
const (
	QUERY_MAIL  = "mail"
	QUERY_TOKEN = "token"
)

Query strings

Variables

This section is empty.

Functions

func Run added in v1.8.1

func Run(gitRev string, gomod []byte)

Run is main daemon function

Types

This section is empty.

Jump to

Keyboard shortcuts

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