Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AppName = defaultAppName
AppName returns the name of the application
var AppPath = defaultAppPath
AppPath returns the execution path of the application
var AppPort = defaultAppPort
AppPort returns the hosting port of the application
var AppVersion = defaultAppVersion
AppVersion returns the version information of the application
var CaCertContent = defaultCaCertContent
CaCertContent returns the CA certificate cert content of the application
var ClientCertContent = defaultClientCertContent
ClientCertContent returns the client certificate cert content of the application
var ClientKeyContent = defaultClientKeyContent
ClientKeyContent returns the client certificate key content of the application
var DefaultAllowedLogLevel = defaultAllowedLogLevel
DefaultAllowedLogLevel returns the default allowed log level of the application
var DefaultAllowedLogType = defaultAllowedLogType
DefaultAllowedLogType returns the default allowed log type of the application
var DefaultNetworkTimeout = defaultNetworkTimeout
DefaultNetworkTimeout returns the default network timeout value of the application
var GraceShutdownWaitTime = graceShutdownWaitTime
GraceShutdownWaitTime returns the graceful shutdown wait time value of the application
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
var ServeHTTPS = defaultServeHTTPS
ServeHTTPS returns the control switch for whether or not hosting the web-service with HTTPS
var ServerCertContent = defaultServerCertContent
ServerCertContent returns the server certificate cert content of the application
var ServerKeyContent = defaultServerKeyContent
ServerKeyContent returns the server certificate key content of the application
var SkipServerCertVerification = defaultSkipServerCertVerification
SkipServerCertVerification returns the choice whether or not skipping the server certificate verification for network communications
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.