config

package
v0.31.10 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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