config

package
v0.0.0-...-b26b2cd Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause 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 {
	Global struct {
		Port      string
		Host      string
		AllowFrom string
		Debug     bool
		PidFile   string
		User      string
	}
	Web        WebConfig
	Logger     LogConfig
	Gitlab     GitLab
	Git        GitConfig
	Repository map[string]*GitRepository
}

func (*Config) ParseConfig

func (self *Config) ParseConfig(file string) error

type GitConfig

type GitConfig struct {
	PublicKey  string
	PrivateKey string
	User       string
	Passphrase string
}

type GitLab

type GitLab struct {
	Host   string
	Scheme string
	User   string
	Token  string
}

type GitRepository

type GitRepository struct {
	Path          string
	Branch        string
	Remote        string
	PushRequests  bool
	MergeRequests bool
	Notifications bool
}

type LogConfig

type LogConfig struct {
	Log              string
	SkypeUrl         string
	SkypeDistination string
	SlackUrl         string
	SlackToken       string
	SlackChannel     string
}

type WebConfig

type WebConfig struct {
	Api        string
	Management string
	Templates  string
}

Jump to

Keyboard shortcuts

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