config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: GPL-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BotFromCfgFile

func BotFromCfgFile(path string) (*gobot.Bot, error)

Types

type Config

type Config struct {
	Bot               gobot.BotConfig    `yaml:"Bot"`
	Rooms             []gobot.RoomConfig `yaml:"Rooms"`
	FollowBotProtocol bool               `yaml:"FollowBotProtocol"`
	ShortHelp         string             `yaml:"ShortHelp"`
	LongHelp          string             `yaml:"LongHelp"`
}

Jump to

Keyboard shortcuts

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