Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InteractionResponsePongJSON is the JSON representation of a discordgo.InteractionResponsePong InteractionResponsePongJSON = `{"type":1}` // InteractionResponseDeferredChannelMessageWithSourceJSON is the JSON representation of a discordgo.InteractionResponseDeferredChannelMessageWithSource InteractionResponseDeferredChannelMessageWithSourceJSON = `{"type":5}` )
View Source
const ( MissingHandlerMessage = "**Error**: Unknown command" MissingServiceMessage = "**Error**: Failed to get service address" ForwardFailedMessage = "**Error**: Failed to forward request" UpstreamErrorMessage = "**Error**: Upstream server returned error `%d`: `%s`" )
Variables ¶
This section is empty.
Functions ¶
func HandleHTTP ¶
func HandleHTTP(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.