Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
Base is base handler
func (Base) ReplyJSON ¶
func (b Base) ReplyJSON(writer http.ResponseWriter, status int, data interface{})
ReplyJSON reply request with JSON
func (Base) SetPagination ¶
func (b Base) SetPagination(writer http.ResponseWriter, pagination *api.Pagination)
SetPagination set pagination
Click to show internal directories.
Click to hide internal directories.