Skip to content

Commit

Permalink
feat: Updated core/proxy/proxy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Dec 9, 2023
1 parent ec768d2 commit e2d8036
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ func (proxy *Proxy) GetString() (key string) {
}

type ProxyManager struct {
proxies []*Proxy
proxies map[string]*Proxy
keys []string
atIndex int
}

Expand Down Expand Up @@ -52,4 +53,12 @@ func (manager *ProxyManager) GetNext() *Proxy {
manager.atIndex = 0
}
return manager.proxies[manager.atIndex]
}
manager.atIndex = 0
}
return manager.proxies[manager.atIndex]
}
manager.atIndex = 0
}
return manager.proxies[manager.atIndex]
}

0 comments on commit e2d8036

Please sign in to comment.