MCPcopy
hub / github.com/golang/protobuf / AnyResolver

Interface AnyResolver

jsonpb/json.go:25–27  ·  jsonpb/json.go::AnyResolver

AnyResolver takes a type URL, present in an Any message, and resolves it into an instance of the associated message.

Source from the content-addressed store, hash-verified

23// AnyResolver takes a type URL, present in an Any message,
24// and resolves it into an instance of the associated message.
25type AnyResolver interface {
26 Resolve(typeURL string) (proto.Message, error)
27}
28
29type anyResolver struct{ AnyResolver }
30

Callers 3

marshalAnyMethod · 0.65
unmarshalMessageMethod · 0.65
FindMessageByURLMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected