configuration

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = NewConfiguration()

Global config - thread safe and accessible from all packages

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	HttpHostAndPort  string
	HttpsHostAndPort string
	HttpsUsage       string
	Url              string
	HttpsUrl         string
	UseLetsEncrypt   bool
}

Configuration: settings that are neccesary for server configuration

func NewConfiguration

func NewConfiguration() *Configuration

Jump to

Keyboard shortcuts

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