Versions in this module Expand all Collapse all v0 v0.0.1 Nov 16, 2017 Changes in this version + type Redis struct + func NewRedisClient(options *redis.Options) *Redis + func (r *Redis) Close() error + func (r *Redis) Del(ip *model.IP) bool + func (r *Redis) RangeOne(protocol string) (ip *model.IP, err error) + func (r *Redis) Save(ip *model.IP) error + type Storage interface + Close func() error + Del func(ip *model.IP) bool + RangeOne func(protocol string) (ip *model.IP, err error) + Save func(ip *model.IP) error