config

package
v0.0.0-...-ddbe4fe Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//Logger is the global zap logger
	Logger zerolog.Logger
	//StormDB is the global bolt database variable
	StormDB *storm.DB
)

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	ListenAddr string
}

ServerConfig contains all of the server settings defined in the TOML file

func SetupServer

func SetupServer() (ServerConfig, zerolog.Logger, *storm.DB)

SetupServer does the initial configuration

Jump to

Keyboard shortcuts

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