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

Method SetPrefix

internal/descriptor/registry.go:462–464  ·  view source on GitHub ↗

SetPrefix registers the prefix to be added to go package paths generated from proto package names.

(prefix string)

Source from the content-addressed store, hash-verified

460
461// SetPrefix registers the prefix to be added to go package paths generated from proto package names.
462func (r *Registry) SetPrefix(prefix string) {
463 r.prefix = prefix
464}
465
466// SetStandalone registers standalone flag to control package prefix
467func (r *Registry) SetStandalone(standalone bool) {

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected