Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiIndexVersion ¶
func ApiIndexVersion(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Sends a simple welcome-message to the user.
func SendJsonMessage ¶
func SendJsonMessage(w http.ResponseWriter, code int, success bool, message string)
Sends a simple Json-message. It contains a success-bool and a message, which may be empty.
Types ¶
type BasicResponse ¶
Contains a success-bool and a message, which may be empty.
Click to show internal directories.
Click to hide internal directories.