MCPcopy
hub / github.com/coredns/coredns / random

Struct random

plugin/grpc/policy.go:17–17  ·  view source on GitHub ↗

random is a policy that implements random upstream selection.

Source from the content-addressed store, hash-verified

15
16// random is a policy that implements random upstream selection.
17type random struct{}
18
19func (r *random) String() string { return "random" }
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected