Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PairCache ¶
type PairCache interface { Set(context.Context, string, *models.Pair) error Get(context.Context, string) (*models.Pair, error) }
func NewPairsCache ¶
func NewPairsCache(redis *redis.Client) PairCache
type RedisPairsCache ¶
type RedisPairsCache struct {
// contains filtered or unexported fields
}
func (*RedisPairsCache) Key ¶
func (p *RedisPairsCache) Key(address string) string
Click to show internal directories.
Click to hide internal directories.