control

package
v0.0.0-...-db1fe24 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger log15.Logger
)

Functions

This section is empty.

Types

type ChannelArgs

type ChannelArgs struct {
	Name    string
	Channel string
}

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

Jump to

Keyboard shortcuts

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