Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lesismal/nbio
/ Add
Method
Add
protocol_stack.go:17–19 ·
view source on GitHub ↗
go:norace
(p Protocol)
Source
from the content-addressed store, hash-verified
15
16
//go:norace
17
func
(ps *ProtocolStack) Add(p Protocol) {
18
ps.stack = append(ps.stack, p)
19
}
20
21
//go:norace
22
func
(ps *ProtocolStack) Delete(p Protocol) {
Callers
15
OnOpen
Method · 0.80
initHandlers
Method · 0.80
init
Function · 0.80
TestEcho
Function · 0.80
TestTimeout
Function · 0.80
TestFuzz
Function · 0.80
TestUDP
Function · 0.80
Start
Method · 0.80
DialAsyncTimeout
Method · 0.80
readUDP
Method · 0.80
SetReadDeadline
Method · 0.80
SetWriteDeadline
Method · 0.80
Calls
no outgoing calls
Tested by
10
init
Function · 0.64
TestEcho
Function · 0.64
TestTimeout
Function · 0.64
TestFuzz
Function · 0.64
TestUDP
Function · 0.64
BenchmarkGo
Function · 0.64
BenchmarkTaskPool
Function · 0.64
BenchmarkIOTaskPool
Function · 0.64
TestListenerMux
Function · 0.64
testAsync
Function · 0.64