Documentation
¶
Index ¶
- func Event(response http.ResponseWriter, request *http.Request)
- func GetMissingArgs(urlArgs map[string]string, requiredArgs []string) []string
- func Measurement(response http.ResponseWriter, request *http.Request)
- func WriteResponse(response http.ResponseWriter, message interface{}, statusCode int)
- func WriteSimpleResponse(response http.ResponseWriter, message string, statusCode int)
- type SimpleResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMissingArgs ¶
func Measurement ¶
func Measurement(response http.ResponseWriter, request *http.Request)
func WriteResponse ¶
func WriteResponse(response http.ResponseWriter, message interface{}, statusCode int)
func WriteSimpleResponse ¶
func WriteSimpleResponse(response http.ResponseWriter, message string, statusCode int)
Types ¶
type SimpleResponse ¶
type SimpleResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.