MCPcopy
hub / github.com/grpc/grpc-go / server

Struct server

internal/transport/transport_test.go:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370type server struct {
371 lis net.Listener
372 port string
373 startedErr chan error // error (or nil) with server start value
374 mu sync.Mutex
375 conns map[ServerTransport]net.Conn
376 h *testStreamHandler
377 ready chan struct{}
378 channelz *channelz.Server
379 servingTasksDone chan struct{}
380}
381
382func newTestServer() *server {
383 return &server{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected