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

Method Name

internal/handler/handler.go:34–34  ·  view source on GitHub ↗

Name returns the handler name for logging and config.

()

Source from the content-addressed store, hash-verified

32type Handler interface {
33 // Name returns the handler name for logging and config.
34 Name() string
35
36 // OnConnect is called when a new connection is established (first packet with ClientHello).
37 // Handlers can:

Callers 4

handlerNamesMethod · 0.65
TestChain_HandlersFunction · 0.65
handlerNamesFunction · 0.65

Implementers 8

StaticHandlerinternal/handler/simple_router.go
ForwarderHandlerinternal/handler/forwarder.go
LogSNIHandlerinternal/handler/logsni.go
RateLimitGlobalHandlerinternal/handler/ratelimit_global.go
ExampleHandlerinternal/handler/example.go
mockHandlerinternal/handler/handler_test.go
DynamicHandlerinternal/handler/sni_router.go
TerminatorHandlerinternal/handler/terminator.go

Calls

no outgoing calls

Tested by 2

TestChain_HandlersFunction · 0.52