Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldDesc ¶
type FieldDesc struct { Name string Type descriptorpb.FieldDescriptorProto_Type Ref *MessageDesc Tag int32 Label descriptorpb.FieldDescriptorProto_Label Alias string Bind annotation.FIELD_BIND OmitEmpty bool }
type MessageDesc ¶
type MethodDesc ¶
type MethodDesc struct { Name string In *MessageDesc Out *MessageDesc Streaming bool Opts MethodOptions }
type MethodOptions ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) AddFile ¶
func (p *Parser) AddFile(fd *descriptorpb.FileDescriptorProto) error
func (*Parser) GetMessage ¶
func (p *Parser) GetMessage(name string) *MessageDesc
func (*Parser) Services ¶
func (p *Parser) Services() []*ServiceDesc
type ServiceDesc ¶
type ServiceDesc struct { Name string FullName string Methods []*MethodDesc Opts ServiceOptions }
Click to show internal directories.
Click to hide internal directories.