mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 07:30:09 +02:00
added round_robin, least_conn and ip_hash load balance support, small refactoring
This commit is contained in:
@@ -65,6 +65,10 @@ func (b Builder) To(ptr *NestedError) {
|
||||
}
|
||||
}
|
||||
|
||||
func (b Builder) String() string {
|
||||
return b.Build().String()
|
||||
}
|
||||
|
||||
func (b Builder) HasError() bool {
|
||||
return len(b.errors) > 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user