server

package
v4.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "PkgRE Morpher Server"
	VER  = "4.4.0"
	DESC = "HTTP Server for morphing go get requests"
)

Application info

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

Supported command-line options

View Source
const (
	MIN_PROCS = 1
	MAX_PROCS = 32
	MIN_PORT  = 1025
	MAX_PORT  = 65535
)

Limits

View Source
const (
	MAIN_PROCS      = "main:procs"
	HTTP_IP         = "http:ip"
	HTTP_PORT       = "http:port"
	HTTP_REDIRECT   = "http:redirect"
	HEALTHCHECK_URL = "healthcheck:url"
	LOG_LEVEL       = "log:level"
	LOG_DIR         = "log:dir"
	LOG_FILE        = "log:file"
	LOG_PERMS       = "log:perms"
)

Configuration file properties names

Variables

This section is empty.

Functions

func Init

func Init()

Init is main func

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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