protocol

package
v0.0.0-...-2963207 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageRequest

type PageRequest struct {
	Page     int `from:"page" url:"page" json:"page"`
	PageSize int `from:"pageSize" url:"pageSize" json:"pageSize"`
}

PageRequest page request info

type PageResponse

type PageResponse struct {
	Page     int `json:"page"`
	PageSize int `json:"pageSize"`
	Total    int `json:"total"`
}

PageResponse page response info

type Response

type Response struct {
	Code    int         `json:"code"`
	Data    interface{} `json:"data,omitempty"`
	Message string      `json:"message,omitempty"`
}

Response doc Summary HTTP Response informat json Struct Response Member (int) error code Member (interface{}) message or data

Jump to

Keyboard shortcuts

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