Documentation ¶
Index ¶
- Variables
- type ChannelArgs
- type ConnectionArgs
- type ControlConnection
- type ControlServer
- func (serv *ControlServer) DisconnectConnection(args *ConnectionArgs, reply *int) error
- func (serv *ControlServer) JoinChannel(args *ChannelArgs, reply *string) error
- func (serv *ControlServer) PartChannel(args *ChannelArgs, reply *string) error
- func (serv *ControlServer) SetIRCConns(ircconns irc.IRCConnections)
- func (serv *ControlServer) Start() (chan bool, error)
- func (serv *ControlServer) Stop() error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger log15.Logger
)
Functions ¶
This section is empty.
Types ¶
type ChannelArgs ¶
type ConnectionArgs ¶
type ConnectionArgs struct {
Name string
}
type ControlConnection ¶
type ControlConnection struct {
// contains filtered or unexported fields
}
type ControlServer ¶
type ControlServer struct {
// contains filtered or unexported fields
}
func NewControlServer ¶
func NewControlServer(conf config.ControlConfig) (*ControlServer, error)
func (*ControlServer) DisconnectConnection ¶
func (serv *ControlServer) DisconnectConnection(args *ConnectionArgs, reply *int) error
func (*ControlServer) JoinChannel ¶
func (serv *ControlServer) JoinChannel(args *ChannelArgs, reply *string) error
func (*ControlServer) PartChannel ¶
func (serv *ControlServer) PartChannel(args *ChannelArgs, reply *string) error
func (*ControlServer) SetIRCConns ¶
func (serv *ControlServer) SetIRCConns(ircconns irc.IRCConnections)
func (*ControlServer) Start ¶
func (serv *ControlServer) Start() (chan bool, error)
func (*ControlServer) Stop ¶
func (serv *ControlServer) Stop() error
Click to show internal directories.
Click to hide internal directories.