Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpCode ¶
type OpCode int
OpCode is a type alias for discord OpCode values
type ResponseCode ¶
type ResponseCode int
ResponseCode is a type alias for websocket error codes
const ( UnknownError ResponseCode = 4000 UnknownOpcode ResponseCode = 4001 DecodeError ResponseCode = 4002 NotAuthenticated ResponseCode = 4003 AuthenticationFailed ResponseCode = 4004 AlreadyAuthenticated ResponseCode = 4005 InvalidSequence ResponseCode = 4007 RateLimited ResponseCode = 4008 SessionTimeout ResponseCode = 4009 InvalidShard ResponseCode = 4010 ShardingRequired ResponseCode = 4011 )
ResponseCode names
func (ResponseCode) String ¶
func (c ResponseCode) String() string
Click to show internal directories.
Click to hide internal directories.