MCPcopy Create free account
hub / github.com/appleboy/loadbalancer-algorithms / server

Struct server

_example/weighted/main.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type server struct {
11 url *url.URL
12 weight int
13}
14
15func main() {
16 servers := []*server{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected