Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSONStub ¶
type JSONStub struct { *pagination.Paginator Status string `json:"status,omitempty"` Message string `json:"message,omitempty"` Data interface{} `json:"data,omitempty"` Links map[string]string `json:"links,omitempty"` }
func NewOK ¶
func NewOK(v interface{}, pages *pagination.Paginator) *JSONStub
func (*JSONStub) AddPaginationLinks ¶
func (*JSONStub) AddSelfLink ¶
Click to show internal directories.
Click to hide internal directories.