helper

package
v0.0.0-...-e5d1c0a Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {

	// Md5 加密
	// @Tags Helper
	// @Router /helper/md5/{str} [get]
	Md5() core.HandlerFunc

	// Sign 签名
	// @Tags Helper
	// @Router /helper/sign [post]
	Sign() core.HandlerFunc

	// getTableID 获取表单id
	// @Tags Helper
	// @Router /helper/GetTableId/{} [get]
	GetTableId() core.HandlerFunc
	// contains filtered or unexported methods
}

func New

func New(logger *zap.Logger, db mysql.Repo, cache redis.Repo) Handler

type TableId

type TableId struct {
	TableId string `json:"TableId"` // 返回表单id
}

type TableNameRequest

type TableNameRequest struct {
	TableName string `uri:"str" binding:"required"` // 需要获取的表名
}

Jump to

Keyboard shortcuts

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