appWeb

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseSuccessCode  = 0
	ResponseFailCode     = 1
	ResponseNotLoginCode = -1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseFormat

type ResponseFormat struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data interface{} `json:"data"`
}

func NewResponse

func NewResponse(code int, msg string, data interface{}) *ResponseFormat

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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