MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / SetStandalone

Method SetStandalone

internal/descriptor/registry.go:467–469  ·  view source on GitHub ↗

SetStandalone registers standalone flag to control package prefix

(standalone bool)

Source from the content-addressed store, hash-verified

465
466// SetStandalone registers standalone flag to control package prefix
467func (r *Registry) SetStandalone(standalone bool) {
468 r.standalone = standalone
469}
470
471// SetRecursiveDepth records the max recursion count
472func (r *Registry) SetRecursiveDepth(count int) {

Callers 2

TestLoadWithStandaloneFunction · 0.95
applyFlagsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestLoadWithStandaloneFunction · 0.76