MCPcopy
hub / github.com/mzz2017/gg / IPMapper

Interface IPMapper

proxy/ip_mapper.go:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7type IPMapper interface {
8 Alloc(target string) (loopback netip.Addr)
9 Get(loopback netip.Addr) (target string)
10}
11
12// LoopbackMapper projects something to a loopback IP.
13// It is not thread-safe.

Callers 9

AllocProjectionMethod · 0.65
ParseSSURLFunction · 0.65
ParseHTTPURLFunction · 0.65
NewTlsFunction · 0.65
NewSimpleObfsFunction · 0.65
ReadMethod · 0.65
NewWsFunction · 0.65
ParseSocksURLFunction · 0.65
ParseTrojanURLFunction · 0.65

Implementers 2

LoopbackMapperproxy/ip_mapper.go
ReservedMapperproxy/ip_mapper.go

Calls

no outgoing calls

Tested by

no test coverage detected