MCPcopy Create free account
hub / github.com/djherbis/socket / OnPacket

Method OnPacket

handler.go:7–7  ·  view source on GitHub ↗
(Packet)

Source from the content-addressed store, hash-verified

5// PacketHandler responds to a Packet
6type PacketHandler interface {
7 OnPacket(Packet)
8}
9
10// EventHandler registers a function to be run when an event is received.

Callers 3

ServeHTTPMethod · 0.65
OnPacketMethod · 0.65
NewFunction · 0.65

Implementers 2

handlerhandler.go
callercaller.go

Calls

no outgoing calls

Tested by

no test coverage detected