Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultRedisKey = "gost"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
func RedisHashLoader ¶
func RedisHashLoader(addr string, opts ...RedisLoaderOption) Loader
RedisHashLoader loads data from redis hash.
func RedisSetLoader ¶
func RedisSetLoader(addr string, opts ...RedisLoaderOption) Loader
RedisSetLoader loads data from redis set.
type RedisLoaderOption ¶
type RedisLoaderOption func(opts *redisLoaderOptions)
func DBRedisLoaderOption ¶
func DBRedisLoaderOption(db int) RedisLoaderOption
func KeyRedisLoaderOption ¶
func KeyRedisLoaderOption(key string) RedisLoaderOption
func PasswordRedisLoaderOption ¶
func PasswordRedisLoaderOption(password string) RedisLoaderOption
Click to show internal directories.
Click to hide internal directories.