request

package
v0.0.0-...-712da53 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	Name string `form:"name" binding:"required"` // name
}

type DeleteRequest

type DeleteRequest struct {
	Id uint `uri:"id" binding:"required"` // ID
}

type DetailRequest

type DetailRequest struct {
	Id uint `uri:"id" binding:"required"` // ID
}

type ListRequest

type ListRequest struct {
	PageNum  int    `form:"page_num" binding:"required"` // page
	PageSize int    `form:"page_size"`                   // display number per page
	Name     string `form:"name"`                        // username
}

Jump to

Keyboard shortcuts

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