conf

package
v0.0.0-...-0f72e6a Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(fp string) error

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

Types

type Configuration

type Configuration struct {
	Server      string   `yaml:"server"`
	Channel     string   `yaml:"channel"`
	Nick        string   `yaml:"nick"`
	TLS         bool     `yaml:"tls"`
	InsecureTLS bool     `yaml:"insecure_tls"`
	HL          []string `yaml:"hl"`
	User        string   `yaml:"user"`
}

Configuration is the configuration structure

C is the exported configuration

Jump to

Keyboard shortcuts

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