Documentation ¶
Index ¶
- Constants
- func DeleteSmallObject(ctx *gin.Context)
- func GetSmallObjectContent(ctx *gin.Context)
- func GetUploadedFile(file *multipart.FileHeader) ([]byte, error)
- func InitSmallObj(c *config.Config, engine *gin.Engine, container *config.Container)
- func InsertSmallObject(ctx *gin.Context)
- func ResponseBody(body interface{}) map[string]interface{}
- func ResponseErr(errorCode, errorMessage string) map[string]interface{}
- func ResponseOk() map[string]interface{}
Constants ¶
View Source
const SmallObjectServiceName = "small_object"
Variables ¶
This section is empty.
Functions ¶
func DeleteSmallObject ¶
func GetSmallObjectContent ¶
func GetUploadedFile ¶
func GetUploadedFile(file *multipart.FileHeader) ([]byte, error)
func InitSmallObj ¶
func InsertSmallObject ¶
func ResponseBody ¶
func ResponseBody(body interface{}) map[string]interface{}
func ResponseErr ¶
func ResponseOk ¶
func ResponseOk() map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.