Documentation ¶
Index ¶
- type HTTP
- func Asset(name string) HTTP
- func JSON(data interface{}) HTTP
- func JSONWithCode(data interface{}, code int) HTTP
- func Static(name string) HTTP
- func StaticWithCode(name string, code int) HTTP
- func Text(text string) HTTP
- func TextWithCode(text string, code int) HTTP
- func View(name string, data interface{}) HTTP
- func ViewWithCode(name string, data interface{}, code int) HTTP
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
HTTP is the web server response.
func JSONWithCode ¶ added in v0.7.0
JSONWithCode is a JSON response with additional status code.
func StaticWithCode ¶ added in v0.7.0
StaticWithCode is a Static response with additional status code.
func TextWithCode ¶ added in v0.7.0
TextWithCode is a Text response with additional status code.
func ViewWithCode ¶ added in v0.7.0
ViewWithCode is a View response with additional code.
Click to show internal directories.
Click to hide internal directories.