Documentation ¶
Index ¶
- func Call(m map[string]interface{}, name string, params ...interface{}) (result []reflect.Value, err error)
- func GetMapKeys(m map[string]interface{}) (strKeys []string)
- func RespondWithError(w http.ResponseWriter, code int, message string)
- func RespondWithJSON(w http.ResponseWriter, code int, payload interface{})
- func StringInMap(key string, m map[string]interface{}) bool
- type App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call(m map[string]interface{}, name string, params ...interface{}) (result []reflect.Value, err error)
This function expects the call-through function to return two values The first is a file name as a string and the second an error as type error
func GetMapKeys ¶
func RespondWithError ¶
func RespondWithError(w http.ResponseWriter, code int, message string)
func RespondWithJSON ¶
func RespondWithJSON(w http.ResponseWriter, code int, payload interface{})
func StringInMap ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.