MaxQPS set max qps
(max int64)
| 76 | |
| 77 | // MaxQPS set max qps |
| 78 | func (sb *ServerBuilder) MaxQPS(max int64) *ServerBuilder { |
| 79 | sb.value.MaxQPS = max |
| 80 | return sb |
| 81 | } |
| 82 | |
| 83 | // Weight set robin weight |
| 84 | func (sb *ServerBuilder) Weight(weight int64) *ServerBuilder { |
no outgoing calls
no test coverage detected