implement FAIL METADATA RATE_LIMITED

This commit is contained in:
Shivaram Lingamneni 2025-11-23 09:14:16 +00:00
parent 96aa018352
commit 0119bbc36f
8 changed files with 52 additions and 7 deletions

View file

@ -21,7 +21,7 @@ var (
errMetadataNotFound = errors.New("key not found")
)
type MetadataHaver = interface {
type MetadataHaver interface {
SetMetadata(key string, value string, limit int) (updated bool, err error)
GetMetadata(key string) (string, bool)
DeleteMetadata(key string) (updated bool)