config

package
v0.0.0-...-dd9661b Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2017 License: Apache-2.0 Imports: 4 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 {
	Log struct {
		Location logger.LogLocation `yaml:"location"`
	} `yaml:"log"`
	Sentry struct {
		Enabled bool   `yaml: "enabled"`
		Dsn     string `yaml:"dsn"`
	} `yaml:"sentry"`
	Statsd struct {
		Enabled bool   `yaml: "enabled"`
		Address string `yaml:"address"`
	} `yaml:"statsd"`
	Storage struct {
		Kind  string `yaml:"kind"`
		Local struct {
			Path string `yaml:"path"`
		}
		S3 struct {
			URL    string `yaml:"url"`
			ID     string `yaml:"id"`
			Key    string `yaml:"key"`
			Bucket string `yaml: "bucket"`
		} `yaml:"s3"`
	} `yaml:"storage"`
}

Config ...

func GetConfig

func GetConfig() *Config

GetConfig ...

Jump to

Keyboard shortcuts

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