Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionsReply ¶
func OptionsReply(w http.ResponseWriter, r *http.Request)
Types ¶
type JSONReply ¶
func APIEndpoint ¶
func APIEndpoint(fn api.SimpleEndpoint) JSONReply
func AuthAPIEndpoint ¶
func AuthAPIEndpoint(fn api.AuthEndpoint) JSONReply
func RequireAuth ¶
func RequireAuth(fn AuthJSONReply) JSONReply
Click to show internal directories.
Click to hide internal directories.