config

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppName = defaultAppName

AppName returns the name of the application

View Source
var AppPath = defaultAppPath

AppPath returns the execution path of the application

View Source
var AppPort = defaultAppPort

AppPort returns the hosting port of the application

View Source
var AppVersion = defaultAppVersion

AppVersion returns the version information of the application

View Source
var CaCertContent = defaultCaCertContent

CaCertContent returns the CA certificate cert content of the application

View Source
var ClientCertContent = defaultClientCertContent

ClientCertContent returns the client certificate cert content of the application

View Source
var ClientKeyContent = defaultClientKeyContent

ClientKeyContent returns the client certificate key content of the application

View Source
var DefaultAllowedLogLevel = defaultAllowedLogLevel

DefaultAllowedLogLevel returns the default allowed log level of the application

View Source
var DefaultAllowedLogType = defaultAllowedLogType

DefaultAllowedLogType returns the default allowed log type of the application

View Source
var DefaultNetworkTimeout = defaultNetworkTimeout

DefaultNetworkTimeout returns the default network timeout value of the application

View Source
var GraceShutdownWaitTime = graceShutdownWaitTime

GraceShutdownWaitTime returns the graceful shutdown wait time value of the application

View Source
var IsLocalhost = defaultIsLocalhost

IsLocalhost returns the control switch for whether or not the current running environment is a localhost (testing) environment; for localhost, logs print all details

View Source
var ServeHTTPS = defaultServeHTTPS

ServeHTTPS returns the control switch for whether or not hosting the web-service with HTTPS

View Source
var ServerCertContent = defaultServerCertContent

ServerCertContent returns the server certificate cert content of the application

View Source
var ServerKeyContent = defaultServerKeyContent

ServerKeyContent returns the server certificate key content of the application

View Source
var SkipServerCertVerification = defaultSkipServerCertVerification

SkipServerCertVerification returns the choice whether or not skipping the server certificate verification for network communications

View Source
var ValidateClientCert = defaultValidateClientCert

ValidateClientCert returns the control switch for whether or not validating the client certificate of incoming HTTP/S requests

Functions

func Initialize

func Initialize() error

Initialize initiates and checks all application config related function injections

Types

This section is empty.

Jump to

Keyboard shortcuts

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