Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MsgDesc = MessageDesc{Desc: make(map[string]*desc.MessageDescriptor, 0)}
Functions ¶
func LoadProtoDescriptors ¶
func LoadProtoDescriptors(descriptorPaths ...string) (map[string]*desc.MethodDescriptor, error)
func LoadProtoDirectories ¶
func LoadProtoDirectories(roots ...string) (map[string]*desc.MethodDescriptor, error)
recursively walks through all files in the given directories and finds .proto files that contains service definitions
Types ¶
type MessageDesc ¶
type MessageDesc struct { Desc map[string]*desc.MessageDescriptor sync.Mutex }
Click to show internal directories.
Click to hide internal directories.