Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorToHTTP ¶
ErrorToHTTP converts errors to HTTP Status Code.
func HandleSortOrder ¶
func HandleSortOrder(w http.ResponseWriter, r *http.Request, scope string) (sort string, order string, err error)
HandleSortOrder gets and stores for a Listing the 'sort' and 'order', and reads 'limit' if given. The latter is 0 if not given. Sets cookies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.