app

package
v0.0.0-...-c86a493 Latest Latest
Warning

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

Go to latest
Published: May 15, 2013 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CONT = ""
View Source
const DEFAULT_TITLE = "Irken"

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(*msg.Line)

generic handler func that takes a Line argument

type IrkenApp

type IrkenApp struct {
	// contains filtered or unexported fields
}

func NewIrkenApp

func NewIrkenApp(cfgPath string) *IrkenApp

func (*IrkenApp) AddChatWindow

func (ia *IrkenApp) AddChatWindow(context string) error

func (*IrkenApp) AddHandler

func (ia *IrkenApp) AddHandler(cmd string, h Handler) (err error)

func (*IrkenApp) AddNewNick

func (ia *IrkenApp) AddNewNick(channel, nick string) error

func (*IrkenApp) AddNicks

func (ia *IrkenApp) AddNicks(channel, nicks string) error

func (*IrkenApp) BeginInput

func (ia *IrkenApp) BeginInput(context string)

func (*IrkenApp) ChangeNick

func (ia *IrkenApp) ChangeNick(channel, oldNick, newNick string)

func (*IrkenApp) ChangeUserNick

func (ia *IrkenApp) ChangeUserNick(nick string)

func (*IrkenApp) Connect

func (ia *IrkenApp) Connect(addr string) error

func (*IrkenApp) CurrentNick

func (ia *IrkenApp) CurrentNick() string

func (*IrkenApp) CurrentWindowsContexts

func (ia *IrkenApp) CurrentWindowsContexts() []string

func (*IrkenApp) DeleteChatWindow

func (ia *IrkenApp) DeleteChatWindow(context string) error

func (*IrkenApp) Disconnect

func (ia *IrkenApp) Disconnect() error

func (*IrkenApp) EndInput

func (ia *IrkenApp) EndInput(context string)

func (*IrkenApp) GUI

func (ia *IrkenApp) GUI() *gui.GUI

func (*IrkenApp) Handle

func (ia *IrkenApp) Handle(l *msg.Line) (err error)

func (*IrkenApp) HasChannel

func (ia *IrkenApp) HasChannel(context string) bool

func (*IrkenApp) HasConnection

func (ia *IrkenApp) HasConnection() bool

func (*IrkenApp) IsDebugging

func (ia *IrkenApp) IsDebugging() bool

func (*IrkenApp) NickExist

func (ia *IrkenApp) NickExist(channel, nick string) (bool, error)

func (*IrkenApp) RecentChannelCmd

func (ia *IrkenApp) RecentChannelCmd(channel string) (cmd string, err error)

func (*IrkenApp) RemoveNick

func (ia *IrkenApp) RemoveNick(channel, nick string) error

func (*IrkenApp) ResetPing

func (ia *IrkenApp) ResetPing()

func (*IrkenApp) SendToCurrentServer

func (ia *IrkenApp) SendToCurrentServer(s string) error

func (*IrkenApp) UpdateNicks

func (ia *IrkenApp) UpdateNicks(context string) error

func (*IrkenApp) WriteToChatWindow

func (ia *IrkenApp) WriteToChatWindow(s, context string)

func (*IrkenApp) WriteToCurrentWindow

func (ia *IrkenApp) WriteToCurrentWindow(s string)

Jump to

Keyboard shortcuts

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