Documentation
¶
Index ¶
- type Channel
- func (c *Channel) Clients() []Client
- func (c *Channel) Empty() bool
- func (c *Channel) Join(client Client)
- func (c *Channel) Leave(client Client)
- func (c *Channel) Name() string
- func (c *Channel) Names() []string
- func (c *Channel) Send(msg message.M)
- func (c *Channel) SendExcept(msg message.M, name string)
- type Channels
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { Topic string // contains filtered or unexported fields }
func NewChannel ¶
type Channels ¶
type Channels struct {
// contains filtered or unexported fields
}
func NewChannels ¶
func NewChannels() *Channels
Click to show internal directories.
Click to hide internal directories.