v1

package
v0.0.0-...-473e3f1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 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 ExpireReq

type ExpireReq struct {
	Key string `json:"key" binding:"required,max=255,min=1"`
	TTL int64  `json:"ttl" binding:"required"`
}

type KeyReq

type KeyReq struct {
	Key string `form:"key" binding:"required,max=255,min=1"` // 键名
}

type StorePutReq

type StorePutReq struct {
	Key   string `json:"key" binding:"required,max=255,min=1"`   // 键名
	Value string `json:"value" binding:"required,max=255,min=1"` // 键值
}

type StorePutWithTTLReq

type StorePutWithTTLReq struct {
	Key   string `json:"key" binding:"required,max=255,min=1"`
	Value string `json:"value" binding:"required,max=255,min=1"`
	TTL   int64  `json:"ttl" binding:"required"`
}

Jump to

Keyboard shortcuts

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