Documentation ¶
Index ¶
- func DownloadFile(url string, filepath string) error
- func GetAuthorizationToken(request http.Header) (string, bool)
- func GetHttpRequestBoolValue(r *http.Request, key string, defValue bool) bool
- func GetHttpRequestFilterQuery(r *http.Request) (field string, value string)
- func GetHttpRequestIntValue(r *http.Request, key string) int64
- func GetHttpRequestLang(r *http.Request) language.Locale
- func GetHttpRequestPaginationQuery(r *http.Request) (skip int64, top int64, sortField string, sortOrder string)
- func GetHttpRequestQueryValue(r *http.Request, key string) (interface{}, error)
- func GetHttpRequestStrValue(r *http.Request, key string) string
- func JoinUrl(element ...string) string
- func MapRequestBody(request *http.Request, dest interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile Downloads a file from a url
func GetAuthorizationToken ¶ added in v0.0.19
func GetHttpRequestBoolValue ¶
func GetHttpRequestFilterQuery ¶ added in v0.0.19
func GetHttpRequestPaginationQuery ¶ added in v0.0.19
func MapRequestBody ¶ added in v0.0.19
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.