Documentation ¶
Index ¶
- Constants
- type ConnectionStatus
- type IrcConnectionManager
- func (mgr *IrcConnectionManager) Connect()
- func (mgr *IrcConnectionManager) Connection() *ircevent.Connection
- func (mgr *IrcConnectionManager) Debug() bool
- func (mgr *IrcConnectionManager) Quit()
- func (mgr *IrcConnectionManager) Reconnect()
- func (mgr *IrcConnectionManager) SetDebug(debug bool)
- func (mgr *IrcConnectionManager) Status() ConnectionStatus
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
Click to show internal directories.
Click to hide internal directories.