config

package
v0.0.0-...-22ca071 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DatetimeFormat = "2006/01/02 15:04:05 MST"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Slack     Slack     `toml:"slack"`
	Mongo     Mongo     `toml:"mongo"`
	GitRemote GitRemote `toml:"gitremote"`
}
var (
	Conf *Config
)

type GitRemote

type GitRemote struct {
	Service string `toml:"service"`
	Url     string `toml:"url"`
}

type Mongo

type Mongo struct {
	Host          string `toml:"host"`
	Port          string `toml:"port"`
	Database      string `toml:"database"`
	LogCollection string `toml:"logcollection"`
}

type Slack

type Slack struct {
	HookUrl  string `toml:"hookurl"`
	Username string `toml:"username"`
	Channel  string `toml:"channel"`
}

Jump to

Keyboard shortcuts

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