Documentation ¶
Index ¶
- func Start(name, address, port string)
- type Client
- func (c *Client) AwayMessage() string
- func (c *Client) Channels() *channel.Channels
- func (c *Client) Close()
- func (c *Client) Name() string
- func (c *Client) RealName() string
- func (c *Client) Send(msg message.M)
- func (c *Client) SendExcept(msg message.M, name string)
- func (c *Client) SetAwayMessage(n string)
- func (c *Client) SetMode(n string)
- func (c *Client) SetName(n string)
- func (c *Client) SetRealName(n string)
- func (c *Client) SetUserName(n string)
- func (c *Client) UserName() string
- type Clients
- type Server
- func (s *Server) Address() string
- func (s *Server) Find(name string) (message.Sender, bool)
- func (s *Server) FindChannel(name string) *channel.Channel
- func (s *Server) Join(c channel.Client, channelName string) *channel.Channel
- func (s *Server) List() []string
- func (s *Server) Name() string
- func (s *Server) Names() []string
- func (s *Server) Part(c channel.Client, channelName string)
- func (s *Server) Remove(c *Client)
- func (s *Server) Start()
- func (s *Server) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AwayMessage ¶
func (*Client) SetAwayMessage ¶
func (*Client) SetRealName ¶
func (*Client) SetUserName ¶
type Clients ¶
type Clients struct {
// contains filtered or unexported fields
}
func NewClients ¶
func NewClients() *Clients
Click to show internal directories.
Click to hide internal directories.