mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 12:05:46 +00:00
add relay proxy
This commit is contained in:
+4
-4
@@ -76,12 +76,12 @@ func (g *NodeGroup) Next() *Node {
|
||||
return nil
|
||||
}
|
||||
|
||||
selector := g.selector
|
||||
if selector == nil {
|
||||
return g.nodes[0]
|
||||
s := g.selector
|
||||
if s == nil {
|
||||
s = DefaultSelector
|
||||
}
|
||||
|
||||
return selector.Select(g.nodes...)
|
||||
return s.Select(g.nodes...)
|
||||
}
|
||||
|
||||
type FailMarker struct {
|
||||
|
||||
Reference in New Issue
Block a user