global

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort = "9200"
	AuthHeader  = "X-Registry-Token"

	EnvBindAddress = envPrefix + "BIND_ADDRESS"
	EnvAuthToken   = envPrefix + "TOKEN"
	EnvDieAfter    = envPrefix + "DIE_AFTER"
	EnvCertFile    = envPrefix + "CERT_FILE"
	EnvKeyFile     = envPrefix + "KEY_FILE"
)

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(length int) string

func GetPortForTest

func GetPortForTest() uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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