Documentation ¶
Overview ¶
Package config is the place to setup global variables and constants that impact site-wide behavior. Be very careful about calling functions that are in other packages from this package, as doing so can potentially create import loops, which Go does not allow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Port int = 0
Port is the http port the app will run on. If not set, it will use the default of 80.
View Source
var TLSCertFile = ""
TLSCertFile is the path for the https certificate.
View Source
var TLSKeyFile = ""
TLSKeyFile is the path to the https key file.
View Source
var TLSPort int = 0
TLSPort is the port to serve SSL from. If this is unset, it will not serve SSL. If set, you must also provide a TLSCertFile and TLSKeyFile below.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.