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