Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
336 B
Go
17 lines
336 B
Go
package protocol
|
|
|
|
const (
|
|
CodeOK = "0"
|
|
CodeUnauthorized = "40101"
|
|
CodeForbidden = "40301"
|
|
CodeNotFound = "40401"
|
|
CodeInvalid = "40001"
|
|
CodeBusy = "42901"
|
|
CodeRateLimited = "42902"
|
|
CodeInternal = "50001"
|
|
CodeNotAuth = "40102"
|
|
CodeOutboundDrop = "42903"
|
|
)
|
|
|
|
const CurrentVersion uint8 = 1
|