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

Method GoAway

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

GoAway returns a channel that is closed when ClientTransport receives the draining signal from the server (e.g., GOAWAY frame in HTTP/2).

()

Source from the content-addressed store, hash-verified

636 // receives the draining signal from the server (e.g., GOAWAY frame in
637 // HTTP/2).
638 GoAway() <-chan struct{}
639
640 // GetGoAwayReason returns the reason why GoAway frame was received, along
641 // with a human readable string with debug info.

Callers 4

TestMaxConnectionIdleMethod · 0.65
TestMaxConnectionAgeMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls

Tested by 4

TestMaxConnectionIdleMethod · 0.52
TestMaxConnectionAgeMethod · 0.52