Documentation ¶
Index ¶
- Variables
- type NoopHandler
- func (h NoopHandler) HandleChatMessage(chatdata.ServerMessage) error
- func (h NoopHandler) HandleHistory()
- func (h NoopHandler) HandleLatency(time.Duration)
- func (h NoopHandler) HandleMusicMessage(musicdata.ServerMessage) error
- func (h NoopHandler) HandleMusicNodeMessage(musicdata.SongDataMessage) error
- func (h NoopHandler) HandleMusicPlaylistSongsMessage(musicdata.ServerPlaylistSongsMessage) error
- func (h NoopHandler) HandleMusicStateMessage(client.MusicState) error
- func (h NoopHandler) HandleName(string)
- func (h NoopHandler) HandleTypingMessage(typingdata.ServerMessage) error
- func (h NoopHandler) HandleUpdateMessage(updatedata.ServerMessage) error
- func (h NoopHandler) HandleUsersMessage(usersdata.ServerMessage, client.Users) error
- type UpdateHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotExist = errors.New("does not exist")
Functions ¶
This section is empty.
Types ¶
type NoopHandler ¶
type NoopHandler struct { }
func (NoopHandler) HandleChatMessage ¶
func (h NoopHandler) HandleChatMessage(chatdata.ServerMessage) error
func (NoopHandler) HandleHistory ¶
func (h NoopHandler) HandleHistory()
func (NoopHandler) HandleLatency ¶
func (h NoopHandler) HandleLatency(time.Duration)
func (NoopHandler) HandleMusicMessage ¶
func (h NoopHandler) HandleMusicMessage(musicdata.ServerMessage) error
func (NoopHandler) HandleMusicNodeMessage ¶
func (h NoopHandler) HandleMusicNodeMessage(musicdata.SongDataMessage) error
func (NoopHandler) HandleMusicPlaylistSongsMessage ¶ added in v0.5.0
func (h NoopHandler) HandleMusicPlaylistSongsMessage(musicdata.ServerPlaylistSongsMessage) error
func (NoopHandler) HandleMusicStateMessage ¶
func (h NoopHandler) HandleMusicStateMessage(client.MusicState) error
func (NoopHandler) HandleName ¶
func (h NoopHandler) HandleName(string)
func (NoopHandler) HandleTypingMessage ¶ added in v0.3.9
func (h NoopHandler) HandleTypingMessage(typingdata.ServerMessage) error
func (NoopHandler) HandleUpdateMessage ¶ added in v0.3.11
func (h NoopHandler) HandleUpdateMessage(updatedata.ServerMessage) error
func (NoopHandler) HandleUsersMessage ¶
func (h NoopHandler) HandleUsersMessage(usersdata.ServerMessage, client.Users) error
type UpdateHandler ¶ added in v0.3.11
func NewUpdateHandler ¶ added in v0.3.11
func (*UpdateHandler) Download ¶ added in v0.3.11
func (u *UpdateHandler) Download(os, arch string, w io.Writer) error
func (*UpdateHandler) HandleUpdateMessage ¶ added in v0.3.11
func (u *UpdateHandler) HandleUpdateMessage(m updatedata.ServerMessage) error
Click to show internal directories.
Click to hide internal directories.