grpc

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownErrCode  = Code(1000)
	InvalidArgument = Code(1001)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code = string

type Error

type Error struct {
	// contains filtered or unexported fields
}

func NewError

func NewError(code Code, message string) *Error

func (*Error) Code

func (e *Error) Code() string

func (*Error) Detail

func (e *Error) Detail() string

func (*Error) Error

func (e *Error) Error() string

Directories

Path Synopsis
demo
sdk/user
Package user is a reverse proxy.
Package user is a reverse proxy.

Jump to

Keyboard shortcuts

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