feat(api): define OnlineUser type with SID and IP fields
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user