res

package
v0.0.0-...-2400502 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataList

type DataList struct {
	Item  interface{} `json:"item"`
	Total int64       `json:"total"`
}

DataList 带有总数的Data结构

type Response

type Response struct {
	Status int         `json:"status"`
	Data   interface{} `json:"data"`
	Msg    string      `json:"msg"`
	Error  string      `json:"error"`
}

Response 基础序列化器

type TokenData

type TokenData struct {
	User  interface{} `json:"user"`
	Token string      `json:"token"`
}

TokenData 带有token的Data结构

Jump to

Keyboard shortcuts

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