Documentation ¶
Overview ¶
Package prototest exercises protobuf reflection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Resolver is used to determine the list of extension fields to test with. // If nil, this defaults to using protoregistry.GlobalTypes. Resolver interface { FindExtensionByName(field pref.FullName) (pref.ExtensionType, error) FindExtensionByNumber(message pref.FullName, field pref.FieldNumber) (pref.ExtensionType, error) RangeExtensionsByMessage(message pref.FullName, f func(pref.ExtensionType) bool) } }
Message tests a message implemention.
Click to show internal directories.
Click to hide internal directories.