Versions in this module Expand all Collapse all v1 v1.1.0 Jul 23, 2016 v1.0.0 Jun 15, 2016 Changes in this version + type Binding struct + Body *Body + HTTPMethod string + Index int + Method *Method + PathParams []Parameter + PathTmpl httprule.Template + func (b *Binding) ExplicitParams() []string + type Body struct + FieldPath FieldPath + func (b Body) RHS(msgExpr string) string + type Enum struct + File *File + Index int + Outers []string + func (e *Enum) FQEN() string + type Field struct + FieldMessage *Message + Message *Message + type FieldPath []FieldPathComponent + func (p FieldPath) IsNestedProto3() bool + func (p FieldPath) RHS(msgExpr string) string + func (p FieldPath) String() string + type FieldPathComponent struct + Name string + Target *Field + func (c FieldPathComponent) LHS() string + func (c FieldPathComponent) RHS() string + type File struct + Enums []*Enum + GoPkg GoPackage + Messages []*Message + Services []*Service + type GoPackage struct + Alias string + Name string + Path string + func (p GoPackage) Standard() bool + func (p GoPackage) String() string + type Message struct + Fields []*Field + File *File + Index int + Outers []string + func (m *Message) FQMN() string + func (m *Message) GoType(currentPackage string) string + type Method struct + Bindings []*Binding + RequestType *Message + ResponseType *Message + Service *Service + type Parameter struct + Method *Method + Target *Field + func (p Parameter) ConvertFuncExpr() (string, error) + type Registry struct + func NewRegistry() *Registry + func (r *Registry) AddPkgMap(file, protoPkg string) + func (r *Registry) GetAllFQENs() []string + func (r *Registry) GetAllFQMNs() []string + func (r *Registry) Load(req *plugin.CodeGeneratorRequest) error + func (r *Registry) LookupEnum(location, name string) (*Enum, error) + func (r *Registry) LookupFile(name string) (*File, error) + func (r *Registry) LookupMsg(location, name string) (*Message, error) + func (r *Registry) ReserveGoPackageAlias(alias, pkgpath string) error + func (r *Registry) SetPrefix(prefix string) + type Service struct + File *File + Methods []*Method