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

Method Close

internal/transport/transport.go:661–661  ·  view source on GitHub ↗

Close tears down the transport. Once it is called, the transport should not be accessed any more. All the pending streams and their handlers will be terminated asynchronously.

(err error)

Source from the content-addressed store, hash-verified

659 // should not be accessed any more. All the pending streams and their
660 // handlers will be terminated asynchronously.
661 Close(err error)
662
663 // Peer returns the peer of the server transport.
664 Peer() *peer.Peer

Callers 1

startMethod · 0.95

Implementers 2

serverHandlerTransportinternal/transport/handler_server.go
http2Serverinternal/transport/http2_server.go

Calls

no outgoing calls

Tested by 1

startMethod · 0.76