feat: CR login, register, subscribe
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package cachingsvc
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
cachingdomain "github.com/ardeman/project-legalgo-go/internal/domain/caching"
|
||||
"github.com/redis/go-redis/v9"
|
||||
)
|
||||
|
||||
type impl struct {
|
||||
redisClient *redis.Client
|
||||
}
|
||||
|
||||
type implIntf interface {
|
||||
Set(context.Context, cachingdomain.CacheSpec) error
|
||||
}
|
||||
|
||||
func New() implIntf {
|
||||
return &impl{}
|
||||
}
|
||||
Reference in New Issue
Block a user