thriftliontesting

package
v0.0.0-...-304b2f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package thriftliontesting defines testing for thriftlion.

Index

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
View Source
var NoStdJson_One_DEFAULT map[int64]string

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

func NewBan

func NewBan() *Ban

func (*Ban) GetInt32Field

func (p *Ban) GetInt32Field() int32

func (*Ban) GetStringField

func (p *Ban) GetStringField() string

func (*Ban) IsSetInt32Field

func (p *Ban) IsSetInt32Field() bool

func (*Ban) IsSetStringField

func (p *Ban) IsSetStringField() bool

func (*Ban) Read

func (p *Ban) Read(iprot thrift.TProtocol) error

func (*Ban) ReadField1

func (p *Ban) ReadField1(iprot thrift.TProtocol) error

func (*Ban) ReadField2

func (p *Ban) ReadField2(iprot thrift.TProtocol) error

func (*Ban) String

func (p *Ban) String() string

func (*Ban) Write

func (p *Ban) Write(oprot thrift.TProtocol) error

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

func NewBar

func NewBar() *Bar

func (*Bar) GetInt32Field

func (p *Bar) GetInt32Field() int32

func (*Bar) GetOne

func (p *Bar) GetOne() string

func (*Bar) GetStringField

func (p *Bar) GetStringField() string

func (*Bar) GetTwo

func (p *Bar) GetTwo() string

func (*Bar) IsSetInt32Field

func (p *Bar) IsSetInt32Field() bool

func (*Bar) IsSetOne

func (p *Bar) IsSetOne() bool

func (*Bar) IsSetStringField

func (p *Bar) IsSetStringField() bool

func (*Bar) IsSetTwo

func (p *Bar) IsSetTwo() bool

func (*Bar) Read

func (p *Bar) Read(iprot thrift.TProtocol) error

func (*Bar) ReadField1

func (p *Bar) ReadField1(iprot thrift.TProtocol) error

func (*Bar) ReadField2

func (p *Bar) ReadField2(iprot thrift.TProtocol) error

func (*Bar) ReadField3

func (p *Bar) ReadField3(iprot thrift.TProtocol) error

func (*Bar) ReadField4

func (p *Bar) ReadField4(iprot thrift.TProtocol) error

func (*Bar) String

func (p *Bar) String() string

func (*Bar) Write

func (p *Bar) Write(oprot thrift.TProtocol) error

type Bat

type Bat struct {
	Ban *Ban `thrift:"ban,1" db:"ban" json:"ban,omitempty"`
}

Attributes:

  • Ban
var Baz_Bat_DEFAULT *Bat

func NewBat

func NewBat() *Bat

func (*Bat) GetBan

func (p *Bat) GetBan() *Ban

func (*Bat) IsSetBan

func (p *Bat) IsSetBan() bool

func (*Bat) Read

func (p *Bat) Read(iprot thrift.TProtocol) error

func (*Bat) ReadField1

func (p *Bat) ReadField1(iprot thrift.TProtocol) error

func (*Bat) String

func (p *Bat) String() string

func (*Bat) Write

func (p *Bat) Write(oprot thrift.TProtocol) error

type Baz

type Baz struct {
	Bat *Bat `thrift:"bat,1" db:"bat" json:"bat,omitempty"`
}

Attributes:

  • Bat

func NewBaz

func NewBaz() *Baz

func (*Baz) GetBat

func (p *Baz) GetBat() *Bat

func (*Baz) IsSetBat

func (p *Baz) IsSetBat() bool

func (*Baz) Read

func (p *Baz) Read(iprot thrift.TProtocol) error

func (*Baz) ReadField1

func (p *Baz) ReadField1(iprot thrift.TProtocol) error

func (*Baz) String

func (p *Baz) String() string

func (*Baz) Write

func (p *Baz) Write(oprot thrift.TProtocol) error

type Empty

type Empty struct {
}

func NewEmpty

func NewEmpty() *Empty

func (*Empty) Read

func (p *Empty) Read(iprot thrift.TProtocol) error

func (*Empty) String

func (p *Empty) String() string

func (*Empty) Write

func (p *Empty) Write(oprot thrift.TProtocol) error

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

func NewFoo

func NewFoo() *Foo

func (*Foo) GetBar

func (p *Foo) GetBar() *Bar

func (*Foo) GetInt32Field

func (p *Foo) GetInt32Field() int32

func (*Foo) GetOne

func (p *Foo) GetOne() string

func (*Foo) GetStringField

func (p *Foo) GetStringField() string

func (*Foo) GetTwo

func (p *Foo) GetTwo() int32

func (*Foo) IsSetBar

func (p *Foo) IsSetBar() bool

func (*Foo) IsSetInt32Field

func (p *Foo) IsSetInt32Field() bool

func (*Foo) IsSetOne

func (p *Foo) IsSetOne() bool

func (*Foo) IsSetStringField

func (p *Foo) IsSetStringField() bool

func (*Foo) IsSetTwo

func (p *Foo) IsSetTwo() bool

func (*Foo) Read

func (p *Foo) Read(iprot thrift.TProtocol) error

func (*Foo) ReadField1

func (p *Foo) ReadField1(iprot thrift.TProtocol) error

func (*Foo) ReadField2

func (p *Foo) ReadField2(iprot thrift.TProtocol) error

func (*Foo) ReadField3

func (p *Foo) ReadField3(iprot thrift.TProtocol) error

func (*Foo) ReadField4

func (p *Foo) ReadField4(iprot thrift.TProtocol) error

func (*Foo) ReadField5

func (p *Foo) ReadField5(iprot thrift.TProtocol) error

func (*Foo) String

func (p *Foo) String() string

func (*Foo) Write

func (p *Foo) Write(oprot thrift.TProtocol) error

type NoStdJson

type NoStdJson struct {
	One map[int64]string `thrift:"one,1" db:"one" json:"one,omitempty"`
}

Attributes:

  • One

func NewNoStdJson

func NewNoStdJson() *NoStdJson

func (*NoStdJson) GetOne

func (p *NoStdJson) GetOne() map[int64]string

func (*NoStdJson) IsSetOne

func (p *NoStdJson) IsSetOne() bool

func (*NoStdJson) Read

func (p *NoStdJson) Read(iprot thrift.TProtocol) error

func (*NoStdJson) ReadField1

func (p *NoStdJson) ReadField1(iprot thrift.TProtocol) error

func (*NoStdJson) String

func (p *NoStdJson) String() string

func (*NoStdJson) Write

func (p *NoStdJson) Write(oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL