Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IpCacheTimeout = flag.Duration("IpCacheTimeout", 120*time.Second, "Timeout duration in seconds for IPCache")
Do not traceroute to an IP more than once in this many seconds
Functions ¶
This section is empty.
Types ¶
type RecentIPCache ¶
type RecentIPCache struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context) *RecentIPCache
func (*RecentIPCache) Add ¶
func (m *RecentIPCache) Add(ip string)
func (*RecentIPCache) Has ¶
func (m *RecentIPCache) Has(ip string) bool
Click to show internal directories.
Click to hide internal directories.