feat(api): define OnlineUser type with SID and IP fields

This commit is contained in:
Chang lue Tsen 2025-08-25 11:16:39 -04:00
parent 630098bfbb
commit 1ccbdc18b1

View File

@ -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"`