Documentation
¶
Index ¶
- Variables
- type Extension
- type RFC7807
- func (rfc7807 *RFC7807) Doc(title, description string) (problemHandlerFunc, error)
- func (rfc7807 *RFC7807) Error(w http.ResponseWriter, title string, status int, detail string, ...)
- func (rfc7807 *RFC7807) HtmlDoc(title string, html []byte) problemHandlerFunc
- func (rfc7807 *RFC7807) MarkdownDoc(title string, markdown []byte) problemHandlerFunc
- func (rfc7807 *RFC7807) ServeHTTP(aWriter http.ResponseWriter, aRequest *http.Request)
- func (rfc7807 *RFC7807) TemplateDoc(title string, description string, templateStr string) (problemHandlerFunc, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTemplate = `` /* 171-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type RFC7807 ¶
type RFC7807 struct {
URL string
// contains filtered or unexported fields
}
func (*RFC7807) MarkdownDoc ¶
Click to show internal directories.
Click to hide internal directories.