Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "MYAPP"
Variables ¶
View Source
var AbsoluteAssetsPath string
AbsoluteAssetsPath must be set when UseStaticFiles is set to false
View Source
var CertDir string
CertDir defines where to put certificate files
View Source
var CertFile string
CertFile filepath to certificate
View Source
var GracefulShutdownPeriod time.Duration
GracefulShutdownPeriod seconds to wait for api server to shutdown while shutting down the service
View Source
var IdleTimeout time.Duration
IdleTimeout used as http server config
View Source
var KeyFile string
KeyFile filepath to certificate key
View Source
var ReadTimeout time.Duration
ReadTimeout used as http server config
View Source
var ServerAddressBindTLS string
ServerAddressBindTLS defines the network interface to bind the https listener to
View Source
var ServerPortTLS string
ServerPortTLS for secure API like hooks or REST access
View Source
var UseStaticFiles bool
UseStaticFiles may be set to false during development to not use static assets
View Source
var WriteTimeout time.Duration
WriteTimeout used as http server config
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.