package
0.9.53
Repository: https://github.com/dungntvivas/grpc_api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
with key = 32 byte (AES-CBC-256-PKCS7_PADING).
không mã hóa playload.
mã hóa với rsa public key của nhau để encode data (RSA-1024-PKCS1_PADING).
mã hóa với xor key ( sv sử dụng xor key của client và client sử dụng xor key của server để decode payload ).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
receiver not set.
receiver là danh sách connection id.
receiver là danh sách session nhận push.
receiver là danh sánh user id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
lỗi khi chưa thiết lập kết nối authen.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

API_ServiceDesc is the grpc.ServiceDesc for API service.
Enum value maps for AuthConnection_ERROR.
Enum value maps for AuthConnection_ERROR.
Enum value maps for AUTHEN_GROUP.
Enum value maps for AUTHEN_GROUP.
Enum value maps for AUTHEN_TYPE_ID.
Enum value maps for AUTHEN_TYPE_ID.
Enum value maps for CONNECTION_GROUP.
Enum value maps for CONNECTION_GROUP.
Enum value maps for EncodeType.
Enum value maps for EncodeType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Enum value maps for Hello_ERROR.
Enum value maps for Hello_ERROR.
Enum value maps for INTERNAL_GROUP.
Enum value maps for INTERNAL_GROUP.
Enum value maps for KeepAlive_ERROR.
Enum value maps for KeepAlive_ERROR.
Enum value maps for Login_ERROR.
Enum value maps for Login_ERROR.
Enum value maps for Platform.
Enum value maps for Platform.
Enum value maps for PushReceive_PUSH_TYPE.
Enum value maps for PushReceive_PUSH_TYPE.
Enum value maps for Register_ERROR.
Enum value maps for Register_ERROR.
Enum value maps for ResultType.
Enum value maps for ResultType.
Enum value maps for TYPE_ID.
Enum value maps for TYPE_ID.
Enum value maps for TYPE_INTERNAL_ID.
Enum value maps for TYPE_INTERNAL_ID.

# Structs

xác thực token của http request REPLY ==> {"reply":{"@type":"type.googleapis.com/AuthConnection.Reply", "session":{"userId":"2", "sessionId":"1d916c27-a1e0-11ed-95f6-0242ac130002", "expire":"1677813945", "lastActive":"1675221945", "role":2}}}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
/ JSON REQUEST {"type":1, "group":"AUTHEN", "request":{"@type":"type.googleapis.com/Login.Request", "userName":"admin", "password":"admin"}} / JSON REPLY {"reply":{"@type":"type.googleapis.com/Login.Reply", "session":{"userId":"1", "sessionId":"c7ba3cc8-a1fe-11ed-9f49-0242ac130002", "expire":"1677827116", "lastActive":"1675235116", "role":2}}}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
/ JSON REQUEST {"type":2,"group":"AUTHEN","request":{"@type":"type.googleapis.com/Register.Request","userName":"admin","password":"admin","email":"[email protected]","tel":"034535285","deviceToken":"12345","platform":"ANDROID"}} / JSON REPLY {"reply":{"@type":"type.googleapis.com/Register.Reply", "session":{"userId":"1", "sessionId":"c7ba3cc8-a1fe-11ed-9f49-0242ac130002", "expire":"1677827116", "lastActive":"1675235116", "role":2}}}.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedAPIServer must be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

APIClient is the client API for API service.
APIServer is the server API for API service.
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author