system

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: 17 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 {

	// CreateApi 新增
	// @Tags system
	// @Router /api/system/CreateApi [post]
	CreateObject() core.HandlerFunc

	// UpdateApi 修改
	// @Tags system
	// @Router /api/system/UpdateApi [post]
	UpdateObject() core.HandlerFunc

	// DeleteApi 删除
	// @Tags system
	// @Router /api/system/DeleteApi [post]
	DeleteObject() core.HandlerFunc

	// ReloadRedisTable 重载缓存数据
	// @Tags system
	// @Router /api/system/ReloadRedisTable [post]
	ReloadRedisTable() core.HandlerFunc

	// ReloadDbByTable 重载表单配置
	// @Tags system
	// @Router /api/system/ReloadDbByTable [post]
	ReloadDbByTable() core.HandlerFunc

	// Login 用户登录
	// @Tags system
	// @Router /api/system/Login [post]
	Login() core.HandlerFunc

	// QueryList 列表查询
	// @Tags system
	// @Router /api/system/QueryList [post]
	QueryList() core.HandlerFunc

	// GetCaptcha 获取单对象接口
	// @Tags system
	// @Router /api/system/GetObject [post]
	GetObject() core.HandlerFunc

	// GetUserMenu 获取登录用户菜单
	// @Tags system
	// @Router /api/system/GetUserMenu [post]
	GetUserMenu() core.HandlerFunc

	// GetCaptcha 获取验证码
	// @Tags system
	// @Router /api/system/GetCaptcha [post]
	GetCaptcha() core.HandlerFunc
	// contains filtered or unexported methods
}

func New

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

Jump to

Keyboard shortcuts

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