MCPcopy
hub / github.com/fabiolb/fabio / Server

Interface Server

proxy/serve.go:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22)
23
24type Server interface {
25 Close() error
26 Serve(l net.Listener) error
27 Shutdown(ctx context.Context) error
28}
29
30var (
31 // mu guards servers which contains the list

Callers 39

TestCustomRoutesFunction · 0.95
TestHTTPSourceFunction · 0.95
TestGracefulShutdownFunction · 0.95
TestTCPDyanmicProxyFunction · 0.95
TestTCPProxyFunction · 0.95
TestTCPProxyWithTLSFunction · 0.95
TestProxyRequestIDHeaderFunction · 0.95
StartMethod · 0.65
TestBGPHandlerFunction · 0.65
ServeMethod · 0.65
serveFunction · 0.65

Implementers 3

InetAfTCPProxyServerproxy/inetaf_tcpproxy.go
gRPCServerproxy/grpc_handler.go
Serverproxy/tcp/server.go

Calls

no outgoing calls

Tested by

no test coverage detected