feat(api): define OnlineUser type with SID and IP fields
This commit is contained in:
parent
630098bfbb
commit
1ccbdc18b1
@ -11,6 +11,10 @@ info (
|
|||||||
import "../types.api"
|
import "../types.api"
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
OnlineUser {
|
||||||
|
SID int64 `json:"uid"`
|
||||||
|
IP string `json:"ip"`
|
||||||
|
}
|
||||||
ShadowsocksProtocol {
|
ShadowsocksProtocol {
|
||||||
Port int `json:"port"`
|
Port int `json:"port"`
|
||||||
Method string `json:"method"`
|
Method string `json:"method"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user