base

package
v0.0.0-...-3735932 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct{}

func (*BaseController) ErrorMsg

func (c *BaseController) ErrorMsg(ctx *gin.Context, msg string)

func (*BaseController) Success

func (c *BaseController) Success(ctx *gin.Context)

func (*BaseController) SuccessData

func (c *BaseController) SuccessData(ctx *gin.Context, data interface{})

func (*BaseController) SuccessMsg

func (c *BaseController) SuccessMsg(ctx *gin.Context, msg string)

func (*BaseController) SuccessPage

func (c *BaseController) SuccessPage(ctx *gin.Context, data interface{}, total int64)

Jump to

Keyboard shortcuts

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