config

package
v0.0.0-...-e7bfc94 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() *config

Types

type Cfg

type Cfg struct {
	Service string `toml:"service"`
	Server  string `toml:"server"`
	Proxy   string `toml:"proxy"`
	Web     string `toml:"web"`
	App     struct {
		Name string `toml:"name"`
	} `toml:"app"`
	Log struct {
		LogLevel string `toml:"log_level"`
	} `toml:"log"`
	Db []struct {
		Driver string `toml:"driver"`
		Dburl  string `toml:"dburl"`
	} `toml:"db"`
}

Jump to

Keyboard shortcuts

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