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

Method LoadFromPlugin

internal/descriptor/registry.go:243–245  ·  view source on GitHub ↗
(gen *protogen.Plugin)

Source from the content-addressed store, hash-verified

241}
242
243func (r *Registry) LoadFromPlugin(gen *protogen.Plugin) error {
244 return r.load(gen)
245}
246
247func (r *Registry) load(gen *protogen.Plugin) error {
248 filePaths := make([]string, 0, len(gen.FilesByPath))

Callers 2

mainFunction · 0.95

Calls 1

loadMethod · 0.95

Tested by 1