mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
fix bugs,optimize memory
This commit is contained in:
10
api/interface.go
Normal file
10
api/interface.go
Normal file
@@ -0,0 +1,10 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user