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

Method tunnelExists

tailnet/tunnel.go:213–217  ·  view source on GitHub ↗
(src, dst uuid.UUID)

Source from the content-addressed store, hash-verified

211}
212
213func (s *tunnelStore) tunnelExists(src, dst uuid.UUID) bool {
214 _, srcOK := s.bySrc[src][dst]
215 _, dstOK := s.byDst[src][dst]
216 return srcOK || dstOK
217}
218
219func (s *tunnelStore) htmlDebug() []HTMLTunnel {
220 out := make([]HTMLTunnel, 0)

Callers 2

Calls

no outgoing calls

Tested by 1