corehandler

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONResponse

func JSONResponse(c *gin.Context, ctx *Context)

func WebHttpApiResponse added in v1.0.1

func WebHttpApiResponse(c *gin.Context, ctx *Context)

Types

type Context

type Context struct {
	Logger    logx.Logger
	Err       error
	Resp      interface{}
	RequestID string
	Page      string
	Count     string
	Limit     string
}

func NewContext

func NewContext(c *gin.Context) *Context

Jump to

Keyboard shortcuts

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