fea: access in name proxy.

This commit is contained in:
Daniel Ding
2025-04-21 10:42:51 +08:00
parent 84c638ffe8
commit d8a24744d7
40 changed files with 243 additions and 213 deletions

View File

@@ -8,7 +8,7 @@ import (
)
type Perf struct {
Point int `json:"point"`
Access int `json:"access"`
Neighbor int `json:"neighbor"`
OnLine int `json:"online"`
Link int `json:"link"`
@@ -20,8 +20,8 @@ type Perf struct {
}
func (p *Perf) Correct() {
if p.Point == 0 {
p.Point = 64
if p.Access == 0 {
p.Access = 64
}
if p.Neighbor == 0 {
p.Neighbor = 64