caches

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignSet

func SignSet(v string) bool

SignSet 验签重放验证

Types

type StorageContext

type StorageContext interface {
	SetStrategy(strategy *StorageStrategy)
	Set(v string) bool
}

StorageContext 策略模式上下文

type StorageStrategy

type StorageStrategy interface {
	Set(s string) bool
}

StorageStrategy 策略模式实现的方法

Jump to

Keyboard shortcuts

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