config

package
v0.0.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	App struct {
		Port    int    `toml:"port"`
		Name    string `toml:"name"`
		Debug   bool   `toml:"debug"`
		Env     string `toml:"env"`
		SiteURL string `toml:"site_url"`
	} `toml:"app"`
	Services []struct {
		Name      string `toml:"name"`
		ServerURL string `toml:"server_url"`
		ProxyURI  string `toml:"proxy_uri"`
	} `toml:"services"`
	Pkg struct {
		URL   string `toml:"url"`
		Token string `toml:"token"`
	} `toml:"pkg"`
}

Jump to

Keyboard shortcuts

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