config

package
v0.0.0-...-773e468 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	DB: database{
		Driver: "postgres",
		DSN:    "postgres://postgres:cock@127.0.0.1/test?sslmode=disable",
	},
	Web: web{
		Addr: ":1337",
	},
}

Functions

This section is empty.

Types

type Config

type Config struct {
	DB  database
	Web web
}

func Load

func Load(r io.Reader) (Config, error)

Jump to

Keyboard shortcuts

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