Help us shape the future of Go! Take the 2026 Go Developer Survey

codes

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 4 Imported by: 0

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

func (Code) EnumDescriptor() ([]byte, []int)

func (Code) String

func (x Code) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL