Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SuccessfulResponse = Response{ Data: g.Map{"success": true}, }
SuccessfulResponse - the response incidcating the action is successful.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { ErrorCode interface{} `json:"error_code,omitempty"` ErrorMessage interface{} `json:"error_message,omitempty"` }
Error - the common API error object used for UI error displaying.
type Page ¶
type Page struct { CurrentPage int `json:"current_page"` PageSize int `json:"page_size"` TotalPages int `json:"total_pages"` TotalElements int `json:"total_elements"` Elements interface{} `json:"elements"` }
Page - the common API entity for pagination cases.
type RequestPage ¶
RequestPage - the page informatin passed from UI side.
Click to show internal directories.
Click to hide internal directories.