Documentation ¶
Overview ¶
Package protoliontesting defines testing for protolion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { One string `protobuf:"bytes,1,opt,name=one" json:"one,omitempty"` Two string `protobuf:"bytes,2,opt,name=two" json:"two,omitempty"` StringField string `protobuf:"bytes,3,opt,name=string_field,json=stringField" json:"string_field,omitempty"` Int32Field int32 `protobuf:"varint,4,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"` }
type Baz_Bat ¶
type Baz_Bat struct {
Ban *Baz_Bat_Ban `protobuf:"bytes,1,opt,name=ban" json:"ban,omitempty"`
}
func (*Baz_Bat) GetBan ¶
func (m *Baz_Bat) GetBan() *Baz_Bat_Ban
type Baz_Bat_Ban ¶
type Baz_Bat_Ban struct { StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"` Int32Field int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"` }
func (*Baz_Bat_Ban) Descriptor ¶
func (*Baz_Bat_Ban) Descriptor() ([]byte, []int)
func (*Baz_Bat_Ban) GetInt32Field ¶
func (m *Baz_Bat_Ban) GetInt32Field() int32
func (*Baz_Bat_Ban) GetStringField ¶
func (m *Baz_Bat_Ban) GetStringField() string
func (*Baz_Bat_Ban) ProtoMessage ¶
func (*Baz_Bat_Ban) ProtoMessage()
func (*Baz_Bat_Ban) Reset ¶
func (m *Baz_Bat_Ban) Reset()
func (*Baz_Bat_Ban) String ¶
func (m *Baz_Bat_Ban) String() string
type Empty ¶
type Empty struct { }
type Foo ¶
type Foo struct { One string `protobuf:"bytes,1,opt,name=one" json:"one,omitempty"` Two int32 `protobuf:"varint,2,opt,name=two" json:"two,omitempty"` StringField string `protobuf:"bytes,3,opt,name=string_field,json=stringField" json:"string_field,omitempty"` Int32Field int32 `protobuf:"varint,4,opt,name=int32_field,json=int32Field" json:"int32_field,omitempty"` Bar *Bar `protobuf:"bytes,5,opt,name=bar" json:"bar,omitempty"` }
type NoStdJson ¶
Click to show internal directories.
Click to hide internal directories.