config

package
v0.0.0-...-c87d5f2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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 Configuration

type Configuration struct {
	SecretKey     string `envconfig:"secret_key" required:"true"`
	ListenAddr    string `envconfig:"listen_addr" default:"0.0.0.0:8080"`
	BaseDirectory string `envconfig:"base_directory" required:"true"`
}

func Read

func Read() (*Configuration, error)

Jump to

Keyboard shortcuts

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