Documentation
¶
Overview ¶
Package apidoc is a way to define self documenting HTTP API's.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStyle = Style(`
html, body { margin: 0 0; padding: 0 0; }
body {
padding: 1em 1.618em 1em 1.618em;
}
h1:first-child {
margin-top: 0;
}
.request {
padding: 1em 1.618em;
}
.response {
padding: 1em 1.618em;
background-color: #f2f2f2;
border-radius: 1em;
}
`)
Functions ¶
func JsonResponse ¶
func RawRequest ¶
func RawResponse ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.