config

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Name        string
	Environment map[string]string
}

type Config

type Config struct {
	Adapters []Adapter
	Plugins  []Plugin
}

func NewFromFile

func NewFromFile(filePath string) (*Config, error)

type Plugin

type Plugin struct {
	Image              string
	Environment        map[string]string
	OnlyChannels       bool `yaml:"only_channels"`
	OnlyDirectMessages bool `yaml:"only_direct_messages"`
	OnlyMentions       bool `yaml:"only_mentions"`
}

Jump to

Keyboard shortcuts

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