MCPcopy Create free account
hub / github.com/HyBuildNet/quic-relay / ForwarderHandler

Struct ForwarderHandler

internal/handler/forwarder.go:19–21  ·  view source on GitHub ↗

ForwarderHandler handles UDP packet forwarding between clients and backends.

Source from the content-addressed store, hash-verified

17
18// ForwarderHandler handles UDP packet forwarding between clients and backends.
19type ForwarderHandler struct {
20 sessionCounter atomic.Uint64
21}
22
23// NewForwarderHandler creates a new forwarder handler.
24func NewForwarderHandler(_ json.RawMessage) (Handler, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected