Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GatewayWebsocketInformation ¶
type GatewayWebsocketInformation struct {
Url string `json:"url"`
Shards int `json:"shards"`
SessionStartLimit GatewayWebsocketInformationSessionStartLimit `json:"session_start_limit"`
}
func GetGatewayWebsocketInformation ¶
func GetGatewayWebsocketInformation(discordApiGatewayURL string, apiKey string) (GatewayWebsocketInformation, error)
type WebAPIError ¶
type WebAPIError struct {
JsonData []byte
}
func (WebAPIError) Error ¶
func (wae WebAPIError) Error() string
Click to show internal directories.
Click to hide internal directories.