Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ctx context.Context
Functions ¶
func RegisterRedis ¶
Types ¶
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
func NewRedis ¶
func NewRedis(addr, password string, db, PoolSize int) *RedisStore
func (*RedisStore) FmtKey ¶
func (s *RedisStore) FmtKey(Sid, key string) string
func (*RedisStore) Get ¶
func (s *RedisStore) Get(Sid, key string) (interface{}, error)
func (*RedisStore) Remove ¶
func (s *RedisStore) Remove(Sid, key string) error
Click to show internal directories.
Click to hide internal directories.