request

package
v1.56.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUIDGenerateRequest

type UUIDGenerateRequest struct {
	Number         uint8       `json:"number" yaml:"number" toml:"number" v-rule:"required;uint8;range=1,255" v-name:"生成数量"`
	NoSubsTractKey bool        `json:"noSubsTractKey" yaml:"noSubsTractKey" toml:"noSubsTractKey" v-rule:"bool" v-name:"不减去key"`
	IsUpper        bool        `json:"isUpper" yaml:"isUpper" toml:"isUpper" v-rule:"bool" v-name:"是否大写"`
	Version        UUIDVersion `json:"version" yaml:"version" toml:"version" v-rule:"string;in=v1,v4,v6,v7" v-name:"uuid版本"`
}
var UUIDGenerate UUIDGenerateRequest

func (UUIDGenerateRequest) Bind

type UUIDVersion

type UUIDVersion string
const (
	UUIDVersionV1 UUIDVersion = "v1"
	UUIDVersionV4 UUIDVersion = "v4"
	UUIDVersionV6 UUIDVersion = "v6"
	UUIDVersionV7 UUIDVersion = "v7"
)

Jump to

Keyboard shortcuts

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