Documentation ¶
Overview ¶
Package thriftliontesting defines testing for thriftlion.
Index ¶
- Variables
- type Ban
- func (p *Ban) GetInt32Field() int32
- func (p *Ban) GetStringField() string
- func (p *Ban) IsSetInt32Field() bool
- func (p *Ban) IsSetStringField() bool
- func (p *Ban) Read(iprot thrift.TProtocol) error
- func (p *Ban) ReadField1(iprot thrift.TProtocol) error
- func (p *Ban) ReadField2(iprot thrift.TProtocol) error
- func (p *Ban) String() string
- func (p *Ban) Write(oprot thrift.TProtocol) error
- type Bar
- func (p *Bar) GetInt32Field() int32
- func (p *Bar) GetOne() string
- func (p *Bar) GetStringField() string
- func (p *Bar) GetTwo() string
- func (p *Bar) IsSetInt32Field() bool
- func (p *Bar) IsSetOne() bool
- func (p *Bar) IsSetStringField() bool
- func (p *Bar) IsSetTwo() bool
- func (p *Bar) Read(iprot thrift.TProtocol) error
- func (p *Bar) ReadField1(iprot thrift.TProtocol) error
- func (p *Bar) ReadField2(iprot thrift.TProtocol) error
- func (p *Bar) ReadField3(iprot thrift.TProtocol) error
- func (p *Bar) ReadField4(iprot thrift.TProtocol) error
- func (p *Bar) String() string
- func (p *Bar) Write(oprot thrift.TProtocol) error
- type Bat
- type Baz
- type Empty
- type Foo
- func (p *Foo) GetBar() *Bar
- func (p *Foo) GetInt32Field() int32
- func (p *Foo) GetOne() string
- func (p *Foo) GetStringField() string
- func (p *Foo) GetTwo() int32
- func (p *Foo) IsSetBar() bool
- func (p *Foo) IsSetInt32Field() bool
- func (p *Foo) IsSetOne() bool
- func (p *Foo) IsSetStringField() bool
- func (p *Foo) IsSetTwo() bool
- func (p *Foo) Read(iprot thrift.TProtocol) error
- func (p *Foo) ReadField1(iprot thrift.TProtocol) error
- func (p *Foo) ReadField2(iprot thrift.TProtocol) error
- func (p *Foo) ReadField3(iprot thrift.TProtocol) error
- func (p *Foo) ReadField4(iprot thrift.TProtocol) error
- func (p *Foo) ReadField5(iprot thrift.TProtocol) error
- func (p *Foo) String() string
- func (p *Foo) Write(oprot thrift.TProtocol) error
- type NoStdJson
Constants ¶
This section is empty.
Variables ¶
View Source
var Ban_Int32Field_DEFAULT int32
View Source
var Ban_StringField_DEFAULT string
View Source
var Bar_Int32Field_DEFAULT int32
View Source
var Bar_One_DEFAULT string
View Source
var Bar_StringField_DEFAULT string
View Source
var Bar_Two_DEFAULT string
View Source
var Foo_Int32Field_DEFAULT int32
View Source
var Foo_One_DEFAULT string
View Source
var Foo_StringField_DEFAULT string
View Source
var Foo_Two_DEFAULT int32
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Ban ¶
type Ban struct { StringField *string `thrift:"string_field,1" db:"string_field" json:"string_field,omitempty"` Int32Field *int32 `thrift:"int32_field,2" db:"int32_field" json:"int32_field,omitempty"` }
Attributes:
- StringField
- Int32Field
var Bat_Ban_DEFAULT *Ban
type Bar ¶
type Bar struct { One *string `thrift:"one,1" db:"one" json:"one,omitempty"` Two *string `thrift:"two,2" db:"two" json:"two,omitempty"` StringField *string `thrift:"string_field,3" db:"string_field" json:"string_field,omitempty"` Int32Field *int32 `thrift:"int32_field,4" db:"int32_field" json:"int32_field,omitempty"` }
Attributes:
- One
- Two
- StringField
- Int32Field
var Foo_Bar_DEFAULT *Bar
type Bat ¶
type Bat struct {
Ban *Ban `thrift:"ban,1" db:"ban" json:"ban,omitempty"`
}
Attributes:
- Ban
var Baz_Bat_DEFAULT *Bat
type Baz ¶
type Baz struct {
Bat *Bat `thrift:"bat,1" db:"bat" json:"bat,omitempty"`
}
Attributes:
- Bat
type Empty ¶
type Empty struct { }
type Foo ¶
type Foo struct { One *string `thrift:"one,1" db:"one" json:"one,omitempty"` Two *int32 `thrift:"two,2" db:"two" json:"two,omitempty"` StringField *string `thrift:"string_field,3" db:"string_field" json:"string_field,omitempty"` Int32Field *int32 `thrift:"int32_field,4" db:"int32_field" json:"int32_field,omitempty"` Bar *Bar `thrift:"bar,5" db:"bar" json:"bar,omitempty"` }
Attributes:
- One
- Two
- StringField
- Int32Field
- Bar
Click to show internal directories.
Click to hide internal directories.