irc

package
v0.0.0-...-92f9948 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrivmsgEvent    event.EventType = "irc.PRIVMSG"
	NoticeEvent                     = "irc.NOTICE"
	ConnectEvent                    = "irc.CONNECT"
	ConnectingEvent                 = "irc.CONNECTING"
	DisconnectEvent                 = "irc.DISCONNECT"
	IrcEvent                        = "irc.WILDCARD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionStatus

type ConnectionStatus int
const (
	Disconnected ConnectionStatus = iota
	Connecting
	Connected
)

type IrcConnectionManager

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

func NewIrcConnectionManager

func NewIrcConnectionManager(injector inject.Injector) (mgr *IrcConnectionManager)

func (*IrcConnectionManager) Connect

func (mgr *IrcConnectionManager) Connect()

func (*IrcConnectionManager) Connection

func (mgr *IrcConnectionManager) Connection() *ircevent.Connection

func (*IrcConnectionManager) Debug

func (mgr *IrcConnectionManager) Debug() bool

func (*IrcConnectionManager) Quit

func (mgr *IrcConnectionManager) Quit()

func (*IrcConnectionManager) Reconnect

func (mgr *IrcConnectionManager) Reconnect()

func (*IrcConnectionManager) SetDebug

func (mgr *IrcConnectionManager) SetDebug(debug bool)

func (*IrcConnectionManager) Status

func (mgr *IrcConnectionManager) Status() ConnectionStatus

Jump to

Keyboard shortcuts

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