MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewMap

Function NewMap

internal/conns/map.go:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func NewMap() *Map {
20 return &Map{
21 m: map[string]map[string]net.Conn{},
22 }
23}
24
25func (this *Map) Add(conn net.Conn) {
26 if conn == nil {

Callers 2

BenchmarkMap_AddFunction · 0.92
map.goFile · 0.85

Calls

no outgoing calls

Tested by 1

BenchmarkMap_AddFunction · 0.74