Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
18
type
random
struct
{
19
s sd.Endpointer
20
r *rand.Rand
21
}
22
23
func
(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