- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PoolIndex (0.31 sec)
-
cmd/endpoint.go
if ep.CmdLine != pool { continue } return id } return -1 } // GetLocalPoolIdx returns the pool which endpoint belongs to locally. // if ep is remote this code will return -1 poolIndex func (l EndpointServerPools) GetLocalPoolIdx(ep Endpoint) int { for i, zep := range l { for _, cep := range zep.Endpoints { if cep.IsLocal && ep.IsLocal { if reflect.DeepEqual(cep, ep) { return i
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 34.1K bytes - Viewed (0)