sing内核支持面板rule规则

This commit is contained in:
wyx2685
2025-01-10 16:33:05 +09:00
parent c755e9800b
commit 2f1362067b
10 changed files with 74 additions and 93 deletions

View File

@@ -41,7 +41,7 @@ func (h *Hysteria2) AddUsers(p *vCore.AddUsersParams) (added int, err error) {
return len(p.Users), nil
}
func (h *Hysteria2) DelUsers(users []panel.UserInfo, tag string) error {
func (h *Hysteria2) DelUsers(users []panel.UserInfo, tag string, _ *panel.NodeInfo) error {
var wg sync.WaitGroup
for _, user := range users {
wg.Add(1)