Initial commit

This commit is contained in:
2026-01-19 12:12:29 +07:00
commit 2072052437
42 changed files with 5450 additions and 0 deletions

14
pkg/cache/cache.go vendored Normal file
View File

@@ -0,0 +1,14 @@
package cache
import (
"context"
"time"
)
// Cache defines the interface for caching operations
type Cache interface {
Set(ctx context.Context, key string, value interface{}, expiration time.Duration) error
Get(ctx context.Context, key string) (string, error)
Del(ctx context.Context, key string) error
Close() error
}