Documentation ¶
Overview ¶
Package codes is a generated protocol buffer package.
It is generated from these files:
codes/codes.proto
It has these top-level messages:
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Code_name = map[int32]string{
0: "OK",
1: "UNKNOWN",
2: "UNIMPLEMETED",
3: "INTERNAL",
}
View Source
var Code_value = map[string]int32{
"OK": 0,
"UNKNOWN": 1,
"UNIMPLEMETED": 2,
"INTERNAL": 3,
}
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code int32
const ( // OK is returned on success. OK Code = 0 // Unknown error. Unknown Code = 1 // Unimplemented indicates operation is not implemented or not // supported/enabled in this service. Unimplemented Code = 2 // Internal errors. Means some invariants expected by underlying // system has been broken. If you see one of these errors, // something is very broken. Internal Code = 3 )
func (Code) EnumDescriptor ¶
Click to show internal directories.
Click to hide internal directories.