MCPcopy Create free account
hub / github.com/Hidden-Node/GooseRelayVPN-AndroidClient / forget

Method forget

internal/exit/dnscache.go:54–58  ·  view source on GitHub ↗
(host string)

Source from the content-addressed store, hash-verified

52}
53
54func (c *dnsCache) forget(host string) {
55 c.mu.Lock()
56 delete(c.entries, host)
57 c.mu.Unlock()
58}
59
60// dialResult is the outcome of dialWithDNSCache. The timing fields are always
61// populated (the cost is two time.Now calls) so callers can log them on demand.

Callers 1

dialWithDNSCacheFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected