response

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RETRY_AFTER_3   string = "3"
	RETRY_AFTER_30  string = "30"
	RETRY_AFTER_60  string = "60"
	RETRY_AFTER_90  string = "90"
	RETRY_AFTER_120 string = "120"
)

Variables

View Source
var BadRequest = Response{
	Message: "bad request",
}
View Source
var CachePurged = Response{
	Message: "cache purged",
}
View Source
var InvalidAuthScheme = Response{
	Message: "invalid scheme",
}
View Source
var InvalidAuthToken = Response{
	Message: "invalid token",
}
View Source
var InvalidContentType = Response{
	Message: "invalid content type",
}
View Source
var ManifoldDistributionError = Response{
	Message: "distribution error",
}
View Source
var MissingAuthHeader = Response{
	Message: "missing authorization header",
}
View Source
var MissingAuthSchemeOrToken = Response{
	Message: "missing auth scheme or token",
}
View Source
var Ok = Response{
	Message: "ok",
}
View Source
var RateLimitExceeded = Response{
	Message: "rate limit exceeded",
}
View Source
var SchemaNotAvailable = Response{
	Message: "schema not available",
}
View Source
var SchemaNotCached = Response{
	Message: "schema not cached",
}
View Source
var Timeout = Response{
	Message: "request timed out",
}

Functions

This section is empty.

Types

type Response

type Response struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL