Documentation ¶
Index ¶
- type IrcProto
- func (p *IrcProto) CMD_join(msg *proto.Msg) string
- func (p *IrcProto) CMD_kick(msg *proto.Msg) string
- func (p *IrcProto) CMD_msg(msg *proto.Msg) string
- func (p *IrcProto) CMD_nick(msg *proto.Msg) string
- func (p *IrcProto) CMD_part(msg *proto.Msg) string
- func (p *IrcProto) Handle(msg *proto.Msg) string
- func (p *IrcProto) Register(i proto.Interpreter)
- func (p *IrcProto) Run()
- func (p *IrcProto) Send(addr string, text string)
- type NetServerProto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IrcProto ¶
type IrcProto struct {
// contains filtered or unexported fields
}
func NewIrcProto ¶
func NewIrcProto() *IrcProto
func (*IrcProto) Register ¶
func (p *IrcProto) Register(i proto.Interpreter)
type NetServerProto ¶
type NetServerProto struct {
// contains filtered or unexported fields
}
func NewNetServerProto ¶
func NewNetServerProto() *NetServerProto
func (*NetServerProto) Register ¶
func (p *NetServerProto) Register(i proto.Interpreter)
func (*NetServerProto) Run ¶
func (p *NetServerProto) Run()
func (*NetServerProto) Send ¶
func (p *NetServerProto) Send(addr string, text string)
Click to show internal directories.
Click to hide internal directories.