MCPcopy
hub / github.com/go-kit/kit / random

Struct random

sd/lb/random.go:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18type random struct {
19 s sd.Endpointer
20 r *rand.Rand
21}
22
23func (r *random) Endpoint() (endpoint.Endpoint, error) {
24 endpoints, err := r.s.Endpoints()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected