MCPcopy Create free account
hub / github.com/zalando/skipper / hash

Function hash

loadbalancer/algorithm.go:133–135  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

131}
132
133func hash(s string) uint64 {
134 return xxhash.Sum64String(s)
135}
136
137func skipEndpoint(c *routing.LBContext, index int) bool {
138 host := c.Route.LBEndpoints[index].Host

Callers 2

searchRingMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…