smallobj

package
v0.0.0-...-eab1977 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2022 License: LGPL-2.1 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const SmallObjectServiceName = "small_object"

Variables

This section is empty.

Functions

func DeleteSmallObject

func DeleteSmallObject(ctx *gin.Context)

func GetSmallObjectContent

func GetSmallObjectContent(ctx *gin.Context)

func GetUploadedFile

func GetUploadedFile(file *multipart.FileHeader) ([]byte, error)

func InitSmallObj

func InitSmallObj(c *config.Config, engine *gin.Engine, container *config.Container)

func InsertSmallObject

func InsertSmallObject(ctx *gin.Context)

func ResponseBody

func ResponseBody(body interface{}) map[string]interface{}

func ResponseErr

func ResponseErr(errorCode, errorMessage string) map[string]interface{}

func ResponseOk

func ResponseOk() map[string]interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL