Documentation ¶
Index ¶
Constants ¶
View Source
const ( TtlExpiration string = "ttl" CostLimitExpiration string = "cost-limit" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthError ¶ added in v1.7.0
type AuthError struct {
// contains filtered or unexported fields
}
func NewAuthError ¶ added in v1.7.0
func (*AuthError) Authenticated ¶ added in v1.7.0
func (ae *AuthError) Authenticated()
type ExpirationError ¶
type ExpirationError struct {
// contains filtered or unexported fields
}
func NewExpirationError ¶
func NewExpirationError(msg string, reason string) *ExpirationError
func (*ExpirationError) Error ¶
func (ee *ExpirationError) Error() string
func (*ExpirationError) Reason ¶
func (ee *ExpirationError) Reason() string
type NotFoundError ¶ added in v0.0.7
type NotFoundError struct {
// contains filtered or unexported fields
}
func NewNotFoundError ¶ added in v0.0.7
func NewNotFoundError(msg string) *NotFoundError
func (*NotFoundError) Error ¶ added in v0.0.7
func (nfe *NotFoundError) Error() string
func (*NotFoundError) NotFound ¶ added in v0.0.7
func (nfe *NotFoundError) NotFound()
type RateLimitError ¶
type RateLimitError struct {
// contains filtered or unexported fields
}
func NewRateLimitError ¶
func NewRateLimitError(msg string) *RateLimitError
func (*RateLimitError) Error ¶
func (rle *RateLimitError) Error() string
func (*RateLimitError) RateLimit ¶
func (rle *RateLimitError) RateLimit()
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func NewValidationError ¶
func NewValidationError(msg string) *ValidationError
func (*ValidationError) Error ¶
func (ve *ValidationError) Error() string
func (*ValidationError) Validation ¶
func (ve *ValidationError) Validation()
Click to show internal directories.
Click to hide internal directories.