Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBHandler ¶
func NewDBHandler ¶
func NewDBHandler() *DBHandler
type HttpContext ¶
type HttpContext struct { Writer http.ResponseWriter Request *http.Request }
func NewHttpContext ¶
func NewHttpContext(w http.ResponseWriter, r *http.Request) *HttpContext
func (*HttpContext) Bind ¶
func (c *HttpContext) Bind(i interface{}) (err error)
func (*HttpContext) JSON ¶
func (c *HttpContext) JSON(code int, i interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.