config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PortKey is the port where the auth service will listen to
	PortKey = "PORT"
	// InsecureKey is used to run the service without TLS termination
	InsecureKey = "INSECURE"
	// RequestTimeoutKey is used to set the timeout for incoming requests
	RequestTimeoutKey = "REQUEST_TIMEOUT"
	// RequestSizeKey is used to set the max size for ingoing/outgoing requests
	RequestSizeKey = "REQUEST_MAX_SIZE"
	// TLSKeyFileKey specifies the location of the TLS key file to use
	TLSKeyFileKey = "TLS_KEY_FILE"
	// TLSCertFileKey specifies the location of the TLS certificate file to use
	TLSCertFileKey = "TLS_CERT_FILE"
	// LogLevelKey represents the different logging levels.
	// For reference on the values https://godoc.org/github.com/sirupsen/logrus#Level
	LogLevelKey = "LOG_LEVEL"
	// MinIO stuff
	MinioEndpointKey           = "MINIO_ENDPOINT"
	MinioUserKey               = "MINIO_USER"
	MinioPasswordKey           = "MINIO_PASSWORD"
	MinioRegionKey             = "MINIO_REGION"
	MinioInsecureKey           = "MINIO_INSECURE"
	MinioIdentityBucketNameKey = "MINIO_IDENTITY_BUCKET"
)

Variables

This section is empty.

Functions

func GetBool

func GetBool(key string) bool

func GetInt

func GetInt(key string) int

func GetString

func GetString(key string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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