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"
|
||||
|
||||
type (
|
||||
OnlineUser {
|
||||
SID int64 `json:"uid"`
|
||||
IP string `json:"ip"`
|
||||
}
|
||||
ShadowsocksProtocol {
|
||||
Port int `json:"port"`
|
||||
Method string `json:"method"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user