code

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OK                Code = 100000
	InvalidArgument        = 100001
	Unauthenticated        = 100002
	Unimplemented          = 100003
	UserAlreadyExists      = 100004
	UserNotExists          = 100005
	WrongPassword          = 100006
	Unknown                = 111111
)

很多错误grpc会自己生成,api应该提供这些错误的处理和转换方法

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code uint32

Jump to

Keyboard shortcuts

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