Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum struct { Name string ParentName string Options Options Fields Fields IsEmbedded bool FromPackage string }
func (*Enum) PublicName ¶
type ErrorListener ¶
type ErrorListener struct { *antlr.DefaultErrorListener Listener *ProtoListener }
func (*ErrorListener) SyntaxError ¶
func (uel *ErrorListener) SyntaxError(rec antlr.Recognizer, offend interface{}, line int, column int, msg string, e antlr.RecognitionException)
type Field ¶
type Field struct { Name string Kind string MapKind KeyValue Pos string Options Options OneOf Fields IsEnumField bool // belongs to enum fields IsRepeated bool IsMap bool IsOneOf bool IsReserved bool FromPackage string }
func (*Field) IsTimestamp ¶
func (*Field) PublicName ¶
type Method ¶
type Method struct { Name string InKind string OutKind string Options Options IsServerStreaming bool IsClientStreaming bool }
func (*Method) GetHTTPRoute ¶
func (*Method) GetHTTPVerb ¶
func (*Method) NoStreaming ¶
type Options ¶
type Options []Option
func (Options) HasOneNamed ¶
func (Options) NamedValue ¶
func (Options) NamedValueEq ¶
type ProtoListener ¶
type ProtoListener struct { *parser.BaseantlrListener Proto Proto }
func (*ProtoListener) ExitProto ¶
func (s *ProtoListener) ExitProto(ctx *parser.ProtoContext)
Click to show internal directories.
Click to hide internal directories.