Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleRegistry = map[reflect.Type]*ModuleInitializer{}
ModuleRegistry is the registry of module initializers indexed by their golang type to avoid any issues with protobuf descriptor initialization.
Functions ¶
func ModulesByProtoMessageName ¶
func ModulesByProtoMessageName() (map[protoreflect.FullName]*ModuleInitializer, error)
ModulesByProtoMessageName should be used to retrieve modules by their protobuf name. This is done lazily after module registration to deal with non-deterministic issues that can occur with respect to protobuf descriptor initialization.
Types ¶
Click to show internal directories.
Click to hide internal directories.