Fix: deadlock and sync issue in node pool

This commit is contained in:
HFO4
2021-11-03 21:27:53 +08:00
parent 1f06ee3af6
commit 5db476634a
5 changed files with 35 additions and 8 deletions

View File

@@ -15,9 +15,9 @@ import (
// Aria2TestService aria2连接测试服务
type Aria2TestService struct {
Server string `json:"server" binding:"required"`
Server string `json:"server"`
RPC string `json:"rpc" binding:"required"`
Secret string `json:"secret" binding:"required"`
Secret string `json:"secret"`
Token string `json:"token"`
Type model.ModelType `json:"type"`
}