Documentation ¶
Index ¶
- type UsersChannel
- func (c *UsersChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error
- func (c *UsersChannel) HandleJSON(cl channel.Client, r io.Reader) (io.Reader, error)
- func (c *UsersChannel) Register(chnl string, s channel.Sender) error
- func (c *UsersChannel) SendInterval(iv time.Duration)
- func (c *UsersChannel) UserUpdate(channel.Client, channel.ConnectionReason) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsersChannel ¶
type UsersChannel struct { channel.NoSave channel.Limit channel.NoRunClose // contains filtered or unexported fields }
func New ¶
func New(channels []string, col channel.UserCollection) *UsersChannel
func (*UsersChannel) HandleBIN ¶
func (c *UsersChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error
func (*UsersChannel) HandleJSON ¶
func (*UsersChannel) Register ¶
func (c *UsersChannel) Register(chnl string, s channel.Sender) error
func (*UsersChannel) SendInterval ¶
func (c *UsersChannel) SendInterval(iv time.Duration)
func (*UsersChannel) UserUpdate ¶
func (c *UsersChannel) UserUpdate(channel.Client, channel.ConnectionReason) error
Click to show internal directories.
Click to hide internal directories.