Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + type RedisClient struct + func NewRedisClient(url, auth string, ttl time.Duration, db int, l log.Logger) *RedisClient + func (r *RedisClient) GetBlock(height int64) ([]byte, error) + func (r *RedisClient) GetDeltas(height int64) ([]byte, error, int64) + func (r *RedisClient) GetLocker() bool + func (r *RedisClient) ReleaseLocker() + func (r *RedisClient) ResetMostRecentHeightAfterUpload(targetHeight int64, upload func(int64) bool) (bool, int64, error) + func (r *RedisClient) SetBlock(height int64, bytes []byte) error + func (r *RedisClient) SetDeltas(height int64, bytes []byte) error