MCPcopy
hub / github.com/cloudwego/hertz / Server

Interface Server

pkg/protocol/server.go:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type Server interface {
26 Serve(c context.Context, conn network.Conn) error
27}
28
29type StreamServer interface {
30 Serve(c context.Context, conn network.StreamConn) error

Callers 14

ListenAndServeMethod · 0.65
TestRequestCtxHijackFunction · 0.65
ServeMethod · 0.65
ServeStreamMethod · 0.65
ServeMethod · 0.95
ServeMethod · 0.95
TestTraceEventCompletedFunction · 0.95
TestTraceEventWriteErrorFunction · 0.95
TestDefaultWriterFunction · 0.95

Implementers 4

Serverpkg/protocol/http1/server.go
Enginepkg/route/engine.go
mockStreamerpkg/route/engine_test.go
mockProtocolServerpkg/route/engine_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…