request

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct{}

type IdBinding added in v1.1.8

type IdBinding struct {
	Id uint `json:"id" uri:"id" form:"id" binding:"required"`
}

Find by id structure

type IdsBinding added in v1.1.8

type IdsBinding struct {
	Ids []uint `json:"ids" form:"ids" binding:"required,dive,required"`
}

type PageInfo

type PageInfo struct {
	Page     int    `json:"page" form:"page" binding:"required"`
	PageSize int    `json:"pageSize" form:"pageSize" binding:"required"`
	OrderBy  string `json:"orderBy" form:"orderBy"`
	SortBy   string `json:"sortBy" form:"sortBy"`
}

Paging common input parameter structure

Jump to

Keyboard shortcuts

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