Documentation
¶
Index ¶
Constants ¶
View Source
const (
ProblemKeyUsage = "https://relic.sas.com/key-usage"
)
Variables ¶
This section is empty.
Functions ¶
func FromResponse ¶
Types ¶
type Problem ¶
type Problem struct {
Status int `json:"status"`
Type string `json:"type"`
Title string `json:"title,omitempty"`
Detail string `json:"detail,omitempty"`
Instance string `json:"instance,omitempty"`
}
Problem implements a RFC 7087 HTTP "problem" response
type ResponseError ¶
func (ResponseError) Error ¶
func (e ResponseError) Error() string
func (ResponseError) Temporary ¶
func (e ResponseError) Temporary() bool
Click to show internal directories.
Click to hide internal directories.