MCPcopy Index your code
hub / github.com/coder/coder / newTunnelStore

Function newTunnelStore

tailnet/tunnel.go:159–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157}
158
159func newTunnelStore() *tunnelStore {
160 return &tunnelStore{
161 bySrc: make(map[uuid.UUID]map[uuid.UUID]struct{}),
162 byDst: make(map[uuid.UUID]map[uuid.UUID]struct{}),
163 }
164}
165
166func (s *tunnelStore) add(src, dst uuid.UUID) {
167 srcM, ok := s.bySrc[src]

Callers 4

newCoreFunction · 0.85
TestTunnelStore_BidirFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestTunnelStore_BidirFunction · 0.68