Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisRepository ¶
type RedisRepository interface { Set(key string, value interface{}, exp time.Duration) error Get(key string) (string, error) }
RedisRepository represent the redis repositories
func NewRedisRepository ¶
func NewRedisRepository(client *redis.Client) RedisRepository
NewRedisRepository will create an object that represent the RedisRepository interface
Click to show internal directories.
Click to hide internal directories.