Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
https://www.alexedwards.net/blog/working-with-redis
func (*RedisCache) Connect ¶
func (redisCache *RedisCache) Connect(redisConnectionAddress string)
Connect Creates a connection to given address
func (*RedisCache) Disconnect ¶
func (redisCache *RedisCache) Disconnect()
Disconnect closes that connection
func (*RedisCache) GetRootsIfExist ¶
func (redisCache *RedisCache) GetRootsIfExist(key string) (float64, float64, bool)
func (*RedisCache) SaveResult ¶
func (redisCache *RedisCache) SaveResult(key string, root1 float64, root2 float64) error
Click to show internal directories.
Click to hide internal directories.