rsocket / rsocket-go

rsocket-go implementation
Apache License 2.0
511 stars 46 forks source link

Add the balancer to return the length method #87

Closed kingljl closed 4 years ago

kingljl commented 4 years ago

This method is added because the health check needs to obtain whether there is a value in the balancer. Since len (slice) is very fast, it is not locked. If necessary, it can be locked