utils

package
v0.0.0-...-3735443 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DealListCondition

func DealListCondition(c *gin.Context) (*metadata.Condition, error)

func DpmError

func DpmError(msg string) error

func ForbiddenError

func ForbiddenError(c *gin.Context, msg interface{})

func ResponseError

func ResponseError(c *gin.Context, msg interface{}, errcode int64)

func ResponseList

func ResponseList(c *gin.Context, msg metadata.PageData)

func ResponseOK

func ResponseOK(c *gin.Context, msg interface{})

func StringToMd5Bytes

func StringToMd5Bytes(text string) []byte

func StringToMd5String

func StringToMd5String(text string) string

func UnauthedError

func UnauthedError(c *gin.Context, msg interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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