config

package
v0.0.0-...-4ea9c30 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 1 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 {
	Meta   *Meta
	Server *Server
	Logger *Logger
}

func Get

func Get() *Config

type Logger

type Logger struct {
	Output string `default:"stdout"`
	Prefix string `default:"[cris] "`
}

type Meta

type Meta struct {
	Version string `default:"v1"`
}

type Server

type Server struct {
	Host string `default:""`
	Port string `default:"8080"`
}

Jump to

Keyboard shortcuts

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