daemon

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	APP  = "swap-reaper"
	VER  = "0.0.1"
	DESC = "Service to periodically clean swap memory"
)

Basic service 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 (
	LIMITS_MAX_LA   = "limits:max-la"
	LIMITS_MAX_WAIT = "limits:max-wait"
	LOG_DIR         = "log:dir"
	LOG_FILE        = "log:file"
	LOG_PERMS       = "log:perms"
	LOG_LEVEL       = "log:level"
)

Configuration file properties

Variables

This section is empty.

Functions

func Run

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