tally

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2013 License: MIT Imports: 13 Imported by: 0

README

tally

An IRC bot that helps you keep track of your project.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchTickets

func FetchTickets(bot *Bot, tickets interface{})

func InitLogging

func InitLogging()

func ParsePing

func ParsePing(re *regexp.Regexp, line string) interface{}

func ParseTicket

func ParseTicket(re *regexp.Regexp, line string) interface{}

func SendPong

func SendPong(bot *Bot, str interface{})

Types

type Action

type Action struct {
	Parse func(*regexp.Regexp, string) interface{}
	Run   func(*Bot, interface{})
	// contains filtered or unexported fields
}

type Bot

type Bot struct {
	Server   string
	Port     string
	Nick     string
	Channel  string
	Trac_URL string
	Ignore   []string
	// contains filtered or unexported fields
}

func NewBot

func NewBot() *Bot

func (*Bot) AddAction

func (bot *Bot) AddAction(re string, parse func(*regexp.Regexp, string) interface{},
	run func(*Bot, interface{}))

func (*Bot) Connect

func (bot *Bot) Connect()

func (*Bot) MsgChannel

func (bot *Bot) MsgChannel(line string)

func (*Bot) Run

func (bot *Bot) Run()

func (*Bot) Send

func (bot *Bot) Send(str string)

func (*Bot) SetActions

func (bot *Bot) SetActions()

Jump to

Keyboard shortcuts

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