Documentation ¶
Index ¶
Constants ¶
View Source
const (
IP_ZONE_HASH_KEY = "ip_zone"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
IPZoneCache *IPZoneCache
}
type IPZoneCache ¶
type IPZoneCache struct {
// contains filtered or unexported fields
}
func NewIPZoneCache ¶
func NewIPZoneCache(cache *redis.Client, logger *zap.SugaredLogger) *IPZoneCache
Click to show internal directories.
Click to hide internal directories.