Documentation ¶
Index ¶
- type ChatChannel
- func (c *ChatChannel) AddBot(cmd string, bot bot.Bot)
- func (c *ChatChannel) DecodeHistoryItem(r channel.BinaryReader) (channel.Msg, error)
- func (c *ChatChannel) FromHistory(to channel.Client, l history.Log) ([]channel.Batch, error)
- func (c *ChatChannel) Handle(cl channel.Client, m data.Message) error
- func (c *ChatChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error
- func (c *ChatChannel) HandleJSON(cl channel.Client, r io.Reader) (io.Reader, error)
- func (c *ChatChannel) Register(chnl string, s channel.Sender) error
- func (c *ChatChannel) UserUpdate(cl channel.Client, r channel.ConnectionReason) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatChannel ¶
type ChatChannel struct { channel.NoSave channel.Limit channel.NoRunClose // contains filtered or unexported fields }
func New ¶
func New(log *log.Logger, hist *history.HistoryChannel) *ChatChannel
func (*ChatChannel) DecodeHistoryItem ¶
func (c *ChatChannel) DecodeHistoryItem(r channel.BinaryReader) (channel.Msg, error)
func (*ChatChannel) FromHistory ¶
func (*ChatChannel) HandleBIN ¶
func (c *ChatChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error
func (*ChatChannel) HandleJSON ¶
func (*ChatChannel) UserUpdate ¶
func (c *ChatChannel) UserUpdate(cl channel.Client, r channel.ConnectionReason) error
Click to show internal directories.
Click to hide internal directories.