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

Method Error

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

Error returns a channel that is closed when some I/O error happens. Typically the caller should have a goroutine to monitor this in order to take action (e.g., close the current transport and create a new one) in error case. It should not return nil once the transport is initiated.

()

Source from the content-addressed store, hash-verified

631 // and create a new one) in error case. It should not return nil
632 // once the transport is initiated.
633 Error() <-chan struct{}
634
635 // GoAway returns a channel that is closed when ClientTransport
636 // receives the draining signal from the server (e.g., GOAWAY frame in

Callers 15

DoStatusCodeAndMessageFunction · 0.65
DoSpecialStatusMessageFunction · 0.65
getMetadataValuesFunction · 0.65
loadX509CertFunction · 0.65
TestTrackTimersFunction · 0.65
TestClientErrorNotifyMethod · 0.65
TestClientMixMethod · 0.65
TestMaxStreamsMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls