Versions in this module Expand all Collapse all v1 v1.0.0 Jul 2, 2023 Changes in this version + func DynamicJSONBodyParser(body io.ReadCloser) (map[string]interface{}, error) + func Endpoint(path string) endpoint + func GetFile(fieldname string, r *http.Request) ([]byte, *multipart.FileHeader, error) + func HostFolder(path string, folder string) + func HostSPA(folder string) + func Listen(port int) + type MiddlewareData map[string]interface + type MiddlewareFunc func(w http.ResponseWriter, r *http.Request, md *MiddlewareData) bool + type RequestHandler func(w http.ResponseWriter, r *http.Request, md map[string]interface{})