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

Method GetName

proxy/proxy.go:55–57  ·  view source on GitHub ↗

GetName returns the name of the proxy.

()

Source from the content-addressed store, hash-verified

53
54// GetName returns the name of the proxy.
55func (p *Proxy) GetName() string {
56 return p.name
57}
58
59// IsAvailable returns whether the proxy origin was successfully connected at the last check time.
60func (p *Proxy) IsAvailable() bool {

Callers 6

TestNextServerFunction · 0.80
TestAddServersFunction · 0.80
TestServersFunction · 0.80
TestRemoveServersFunction · 0.80
ExampleRoundRobinFunction · 0.80
RemoveServersMethod · 0.80

Calls

no outgoing calls

Tested by 5

TestNextServerFunction · 0.64
TestAddServersFunction · 0.64
TestServersFunction · 0.64
TestRemoveServersFunction · 0.64
ExampleRoundRobinFunction · 0.64