config

package
v0.0.0-...-a45123f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2014 License: MIT Imports: 6 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 {
	Auth     []string
	Channels []string

	Nick, User, Server string
}

Config represents an irc configuration

func NewConfig

func NewConfig() *Config

NewConfig tries to load config.yaml, or a default

func (*Config) ToMap

func (c *Config) ToMap() map[string]string

ToMap shittily converts the config to a string map

Jump to

Keyboard shortcuts

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