Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisClient ¶
type RedisClient interface { Set(string, interface{}, time.Duration) error SetNX(string, interface{}, time.Duration) error Delete(...string) error Incr(string) (int64, error) RPush(string, interface{}) error LPush(string, interface{}) error Pull(string) ([]string, error) Pop(string) ([]string, error) Subscribe(string) *redis.PubSub Publish(string, string) error Get(string) string Ping() error Exists(string) (bool, error) }
func GetClient ¶
func GetClient() (RedisClient, error)
Click to show internal directories.
Click to hide internal directories.