17 lines
376 B
Go
17 lines
376 B
Go
package protocol
|
|
|
|
const (
|
|
CodeOK int32 = 0
|
|
CodeUnauthorized int32 = 40101
|
|
CodeForbidden int32 = 40301
|
|
CodeNotFound int32 = 40401
|
|
CodeInvalid int32 = 40001
|
|
CodeBusy int32 = 42901
|
|
CodeRateLimited int32 = 42902
|
|
CodeInternal int32 = 50001
|
|
CodeNotAuth int32 = 40102
|
|
CodeOutboundDrop int32 = 42903
|
|
)
|
|
|
|
const CurrentVersion uint8 = 1
|