package
Version:
v0.7.3
Opens a new window with list of versions in this module.
Published: Nov 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type RpcRequestData struct {
FromId uint `json:"fromId"`
FromInfo User `json:"fromInfo"`
Timestamp int64 `json:"timestamp"`
Type string `json:"type"`
RequestType string `json:"request_type"`
Path string `json:"path"`
Params map[string]any `json:"params"`
ServerParams ServerParams `json:"serverParams"`
}
type ServerParams struct {
RequestTime uint64 `json:"request_time"`
RequestTimeMilli float64 `json:"request_time_milli"`
ServerProtocol string `json:"server_protocol"`
RemoteAddr string `json:"remote_addr"`
RemoteIp string `json:"remote_ip"`
GatewayId string `json:"gateway_id"`
}
type User struct {
Id uint `json:"id"`
Fd uint64 `json:"fd"`
Nickname string `json:"nickname"`
Phone string `json:"phone"`
Type string `json:"type"`
System string `json:"system"`
AuthGroups []int `json:"auth_groups"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.