Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ENV_MEMCACHED_ADDRESS = os.Getenv("ENV_MEMCACHED_ADDRESS")
View Source
var ENV_REDIS_ADDRESS = os.Getenv("ENV_REDIS_ADDRESS")
Functions ¶
This section is empty.
Types ¶
type MemcachedService ¶
func NewMemcachedService ¶
func NewMemcachedService() *MemcachedService
type RedisService ¶
type RedisService struct {
// contains filtered or unexported fields
}
RedisService:
// A service for creating distributed locks in Redis
func NewRedisService ¶
func NewRedisService() *RedisService
NewRedisService:
Creates a new Redis Service to allow redis locks.
Returns:
*RedisService
Click to show internal directories.
Click to hide internal directories.