Documentation
¶
Index ¶
- type AccessRedisDB
- type Config
- type ReadOnlyRedisDB
- type RedisDB
- type Service
- func (s *Service) Del(key string) error
- func (s *Service) Get(key string) (string, error)
- func (s *Service) RedisClient() *redis.Client
- func (s *Service) Set(key, value string) error
- func (s *Service) SetRedisClient(client *redis.Client)
- func (s *Service) SetRedisConn()
- func (s *Service) Start()
- func (s *Service) Started() bool
- func (s *Service) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRedisDB ¶
type AccessRedisDB = iface.AccessRedisDB
type ReadOnlyRedisDB ¶
type ReadOnlyRedisDB = iface.ReadOnlyRedisDB
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) RedisClient ¶
func (*Service) SetRedisClient ¶
func (*Service) SetRedisConn ¶
func (s *Service) SetRedisConn()
Click to show internal directories.
Click to hide internal directories.