View definition

func RegisteredExtensions(pb Message) map[int32]*ExtensionDesc

Defined in github.com/golang/protobuf/proto/extensions.go

Description

RegisteredExtensions returns a map of the registered extensions of a protocol buffer struct, indexed by the extension number. The argument pb should be a nil pointer to the struct type.