response

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json

func Json(c *gin.Context, status int, msg string, data ...interface{})

Json 响应json

Types

type JsonStruct

type JsonStruct interface {
	Set(status int, msg string, data interface{}, timestamp int64)
}

JsonStruct Json结构接口

var JsonContext JsonStruct = &json_struct.Default{}

JsonContext 内容

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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