configuration

package
v0.0.0-...-3b4d91b Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceDefaultLogLevel = log.ErrorLevel
View Source
const ServiceDefaultPort = 4000
View Source
const Version = "0.1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Service     *Service
	Redis       *redis.Options
	AccountList map[string]authentication.Account
	// contains filtered or unexported fields
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func GetParser

func GetParser() *Parser

func (*Parser) Parse

func (p *Parser) Parse() *Config

type Service

type Service struct {
	Port            int
	LogLevel        logrus.Level
	SessionLifetime int
}

Jump to

Keyboard shortcuts

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