configuration

package
v0.0.0-...-1b5df13 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = new(Configuration)

Config is the Configuration instance that will be exposed to the other packages.

Functions

func Load

func Load(cp string)

Load parses the yml file passed as argument and fills the Config.

Types

type Configuration

type Configuration struct {
	Server      string
	Channel     string
	BotName     string
	TLS         bool
	InsecureTLS bool
}

Configuration is the main struct that represents a configuration.

Jump to

Keyboard shortcuts

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