conf

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port              int    `json:"port"`
	SecuredCookies    bool   `json:"securedCookies"`
	AuthExpiration    int64  `json:"authExpiration"`
	RefreshExpiration int64  `json:"refreshExpiration"`
	Domain            string `json:"domain"`
	BaseURL           string `json:"baseURL`
}

func LoadConfig

func LoadConfig() *Config

Jump to

Keyboard shortcuts

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