V2bX/api/interface.go

11 lines
274 B
Go
Raw Normal View History

2022-06-04 00:05:46 -04:00
package api
type API interface {
GetNodeInfo() (nodeInfo *NodeInfo, err error)
GetUserList() (userList *[]UserInfo, err error)
ReportUserTraffic(userTraffic *[]UserTraffic) (err error)
Describe() ClientInfo
GetNodeRule() (ruleList *[]DetectRule, err error)
Debug()
}