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 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 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.