model

package
v0.0.0-...-5aced50 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 上下文变量存储键名
	ContextKey = "ContextKey"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Session *ghttp.Session // 当前Session管理对象
}

请求上下文结构

type JredisApiHSetValueReq

type JredisApiHSetValueReq struct {
	Key   string      `json:"key" v:"required#Redis HSet Key can not be empty"`
	Field string      `json:"field" v:"required#Redis HSet Field can not be empty"`
	Data  interface{} `json:"data" v:""`
}

type JredisApiInfoFieldReq

type JredisApiInfoFieldReq struct {
	Field string `json:"field" v:""`
}

type JredisApiKeyValuePairReq

type JredisApiKeyValuePairReq struct {
	Key  string      `json:"key" v:"required#Redis Set Key can not be empty"`
	Data interface{} `json:"data" v:""`
}

type JredisApiOnlyKeyFieldReq

type JredisApiOnlyKeyFieldReq struct {
	Key   string `json:"key" v:"required#Redis Key can not be empty"`
	Field string `json:"field" v:""`
}

Jump to

Keyboard shortcuts

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