Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckStatus ¶ added in v0.2.11
CheckStatus returns an error if the response status code is not 2xx. The prefix is included in the error message for context (e.g. "discord: webhook").
func ReadSnippet ¶
ReadSnippet reads up to 200 bytes from r for inclusion in error messages.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.