base

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Base = Controller{}

Functions

This section is empty.

Types

type Controller

type Controller struct{}

func (*Controller) Create

func (c *Controller) Create(ctx *gin.Context)

func (*Controller) Delete

func (c *Controller) Delete(ctx *gin.Context)

func (*Controller) Index

func (c *Controller) Index(ctx *gin.Context)

func (*Controller) Update

func (c *Controller) Update(ctx *gin.Context)

func (*Controller) ValidateReqParams

func (c *Controller) ValidateReqParams(ctx *gin.Context, requestParams interface{}) error

ValidateReqParams 验证请求参数

func (*Controller) View

func (c *Controller) View(ctx *gin.Context)

Jump to

Keyboard shortcuts

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