Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding interface { Name() string DecodeHello(buf []byte) (int, string, error) DecodeReady(buf []byte) (guilds map[int64][]byte, version int, sessionID string, resumeGatewayURL string, _ error) DecodeT(buf []byte) (*Event, error) DecodeChannel(buf []byte) (*Channel, error) DecodeVoiceState(buf []byte) (*VoiceState, error) DecodeThread(buf []byte) (*Thread, error) DecodeGuildCreate(buf []byte) (*GuildCreate, error) DecodeGuildBan(buf []byte) (*GuildBan, error) DecodeMemberChunk(buf []byte) (*MemberChunk, error) DecodeMember(buf []byte) (*Member, error) DecodePresence(buf []byte) (*Presence, error) DecodeMessage(buf []byte) (*Message, error) DecodeMessageReaction(buf []byte) (*MessageReaction, error) DecodeMessageReactionRemoveAll(buf []byte) (*MessageReactionRemoveAll, error) DecodeRole(buf []byte) (*Role, error) DecodeRoleDelete(buf []byte) (*RoleDelete, error) DecodeGuildEmojisUpdate(buf []byte) (*GuildEmojisUpdate, error) Write(obj interface{}) ([]byte, error) }
type GuildCreate ¶
type GuildEmojisUpdate ¶
type MemberChunk ¶
type MessageReaction ¶
type RoleDelete ¶
type VoiceState ¶
Click to show internal directories.
Click to hide internal directories.