MCPcopy Index your code
hub / github.com/celzero/firestack / Get

Method Get

intra/protect/ipmap/ipmap.go:113–113  ·  view source on GitHub ↗

Get creates an IPSet for this hostname populated with the IPs discovered by resolving it. Subsequent calls to Get return the same IPSet. Never returns nil. hostOrIP may be host:port, or ip:port, or host, or ip.

(hostOrIP string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

TestGetTwiceFunction · 0.95
TestGetInvalidFunction · 0.95
TestGetDomainFunction · 0.95
TestGetIPFunction · 0.95
TestAddDomainFunction · 0.95
TestAddIPFunction · 0.95
TestConfirmedFunction · 0.95
TestConfirmNewFunction · 0.95
TestDisconfirmMismatchFunction · 0.95
ReverseGetMethod · 0.65
TestResolverFunction · 0.65

Implementers 1

ipmapintra/protect/ipmap/ipmap.go

Calls

no outgoing calls

Tested by 10

TestGetTwiceFunction · 0.76
TestGetInvalidFunction · 0.76
TestGetDomainFunction · 0.76
TestGetIPFunction · 0.76
TestAddDomainFunction · 0.76
TestAddIPFunction · 0.76
TestConfirmedFunction · 0.76
TestConfirmNewFunction · 0.76
TestDisconfirmMismatchFunction · 0.76
TestResolverFunction · 0.52