Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestMetadata ¶
GetRequestMetadata returns the request metadata
[param] c | *gin.Context: gin context
[return] *models.Request: request metadata
func MultipartToBytes ¶
MultipartToBytes reads a file from a multipart request
[param] c | *gin.Context: gin context [param] key | string: key of the file
[return] []byte: file bytes
func ReadBodyJson ¶
func ReadBodyJson(params interface{}, obj interface{}) error
Read body json as the given object
[param] c | interface: gin context [param] obj | interface{}: object to read
[return] error: error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.