move sdk out to its own module.

This commit is contained in:
fiatjaf
2023-10-31 17:48:06 -03:00
parent 5847335506
commit 1789d43d51
12 changed files with 42 additions and 622 deletions

View File

@@ -1,10 +0,0 @@
package cache
import "time"
type Cache32[V any] interface {
Get(k string) (v V, ok bool)
Delete(k string)
Set(k string, v V) bool
SetWithTTL(k string, v V, d time.Duration) bool
}