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

Method GetGoAwayReason

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

GetGoAwayReason returns the reason why GoAway frame was received, along with a human readable string with debug info.

()

Source from the content-addressed store, hash-verified

640 // GetGoAwayReason returns the reason why GoAway frame was received, along
641 // with a human readable string with debug info.
642 GetGoAwayReason() (GoAwayReason, string)
643
644 // Peer returns information about the peer associated with the Transport.
645 // The returned information includes authentication and network address details.

Callers 3

TestMaxConnectionIdleMethod · 0.65
TestMaxConnectionAgeMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls

Tested by 3

TestMaxConnectionIdleMethod · 0.52
TestMaxConnectionAgeMethod · 0.52