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

TypeAlias Code

codes/codes.go:35–35  ·  view source on GitHub ↗

A Code is a status code defined according to the [gRPC documentation]. Only the codes defined as consts in this package are valid codes. Do not use other code values. Behavior of other codes is implementation-specific and interoperability between implementations is not guaranteed. [gRPC documenta

Source from the content-addressed store, hash-verified

33//
34// [gRPC documentation]: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
35type Code uint32
36
37const (
38 // OK is returned on success.

Callers 15

buildGCPLoggingEntryMethod · 0.92
DoStatusCodeAndMessageFunction · 0.92
DoSpecialStatusMessageFunction · 0.92
UnaryCallMethod · 0.92
FullDuplexCallMethod · 0.92
UnaryCallMethod · 0.92
operateHeadersMethod · 0.92
CodeMethod · 0.92
injectAbortFunction · 0.92
sanitizeGRPCCodeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected