Documentation ¶
Index ¶
Constants ¶
View Source
const SizeLimit = int64(1 * 1024 * 1024)
SizeLimit is the max size of the request body (1MB)
Variables ¶
View Source
var ( // ErrNoAuthProvided when the request doesn't have the auth token ErrNoAuthProvided = errors.New("no token auth provided") // ErrInvalidAuth when the token is invalid ErrInvalidAuth = errors.New("invalid token") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.