Versions in this module Expand all Collapse all v0 v0.0.2 Mar 14, 2020 Changes in this version + type Enum struct + Fields Fields + FromPackage string + FromShared bool + IsEmbedded bool + Name string + Options Options + ParentName string + func (e *Enum) PublicName() string + type ErrNode struct + Column int + Line int + Text string + type ErrorListener struct + Listener *ProtoListener + func (uel *ErrorListener) SyntaxError(rec antlr.Recognizer, offend interface{}, line int, column int, msg string, ...) + type Field struct + FromPackage string + FromShared bool + IsEnumField bool + IsMap bool + IsOneOf bool + IsRepeated bool + IsReserved bool + Kind string + MapKind KeyValue + Name string + OneOf Fields + Options Options + Pos string + func (f *Field) GoKind() string + func (f *Field) IsBasic() bool + func (f *Field) IsTimestamp() bool + func (f *Field) PublicName() string + func (f *Field) ZeroValue() string + type Fields []Field + func (coll Fields) FirstPublicName() string + type KeyValue struct + Key string + Value string + type Message struct + Enums []Enum + Fields Fields + FromPackage string + FromShared bool + IsNested bool + Messages []Message + Name string + Options Options + type Method struct + InKind string + IsClientStreaming bool + IsServerStreaming bool + Name string + Options Options + OutKind string + func (m *Method) GetHTTPRoute() string + func (m *Method) GetHTTPVerb() string + func (m *Method) NoStreaming() bool + type Option struct + IsConstant bool + Name string + Value string + Values []KeyValue + type Options []Option + func (o Options) HasOneNamed(name string) bool + func (o Options) NamedValue(name string) string + func (o Options) NamedValueEq(name, value string) bool + type Proto struct + Enums []Enum + EnumsMap map[string]string + Error *ErrNode + Imports []string + IsShared bool + Messages []Message + Name string + Options Options + PackageName string + Services Services + Syntax string + type ProtoListener struct + Proto Proto + func (s *ProtoListener) ExitProto(ctx *parser.ProtoContext) + type Service struct + FromPackage string + FromShared bool + Methods []Method + Name string + Options Options + type Services []Service + func (s Services) AnyOptionNamedValueEq(name, value string) bool + func (s Services) HasOptionNamed(name string) bool