package
0.0.0-20220409122120-d0d75a4f065a
Repository: https://github.com/therockettek/resttunnel.git
Documentation: pkg.go.dev
# Functions
ParseResponse converts a response string into a ResponseType value.
# Constants
NoResponse defines the client does not want the response.
RespondWithResponse defines the client wants the response.
RespondWithUUIDCallback defines the client will want the response at a later time.
# Structs
AliveResponse represents the response to /alive.
AnalyticResponse returns the response to an api/analytics request.
Dataset is a struct to store data for a Chart.
DataStamp is a struct to store a time and a corresponding value.
LineChart is a struct to store LineChart data easier.
RateLimitResponse represents the structure of a ratelimit message from discord.
TooManyRequests is the response structure when being ratelimited.
TunnelRequest represents a RestTunnel request.
TunnelResponse represents a RestTunnel response.
# Type aliases
ResponseType represents the type of response the client wants.