Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpRecorder ¶
type IpRecorder interface {
SyncOnlineIp(Ips []limiter.UserIpList) ([]limiter.UserIpList, error)
}
type Recorder ¶
type Recorder struct { *conf.RecorderConfig // contains filtered or unexported fields }
func NewRecorder ¶
func NewRecorder(c *conf.RecorderConfig) *Recorder
func (*Recorder) SyncOnlineIp ¶
func (r *Recorder) SyncOnlineIp(ips []limiter.UserIpList) ([]limiter.UserIpList, error)
type Redis ¶
type Redis struct { *conf.RedisConfig // contains filtered or unexported fields }
func NewRedis ¶
func NewRedis(c *conf.RedisConfig) *Redis
func (*Redis) SyncOnlineIp ¶
func (r *Redis) SyncOnlineIp(Ips []limiter.UserIpList) ([]limiter.UserIpList, error)
Click to show internal directories.
Click to hide internal directories.