zmf

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CKV added in v0.0.1

func CKV(str string, rule map[string]CBVAL, c *app.RequestContext) (map[string]interface{}, error)

func Exec added in v0.0.1

func Exec(fname string)

func KV added in v0.0.1

func KV(str string, src map[string]interface{}) map[string]interface{}

func MD5 added in v0.0.1

func MD5(str string) string

func MapMerge added in v0.0.1

func MapMerge(src *map[string]interface{}, dst map[string]interface{})

func RandStr added in v0.0.1

func RandStr(len int, mask int) string

func RetMsg added in v0.0.1

func RetMsg(c *app.RequestContext, status int, msg string, data interface{}, log ...string)

func ToWH added in v0.0.1

func ToWH(str string, c *app.RequestContext) map[string]WHVAL

Types

type CBVAL added in v0.0.1

type CBVAL struct {
	Rule    string
	Msg     string
	Default interface{}
}

type H added in v0.0.1

type H map[string]interface{}

type WHVAL added in v0.0.1

type WHVAL struct {
	Op    string
	Value interface{}
}

Directories

Path Synopsis
lib
mdb
zcb

Jump to

Keyboard shortcuts

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