test

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FullStruct_IntList_DEFAULT []int32
View Source
var FullStruct_OptNilInsList_DEFAULT []*Inner
View Source
var FullStruct_OptNilList_DEFAULT []string
View Source
var FullStruct_Right_DEFAULT int32 = 3
View Source
var FullStruct_Strmap_DEFAULT map[int32]string
View Source
var Inner_Byte1_DEFAULT int8
View Source
var Inner_Desc_DEFAULT string
View Source
var Inner_Double1_DEFAULT float64
View Source
var Inner_MapOfEnumKey_DEFAULT map[AEnum]int64
View Source
var Inner_MapOfList_DEFAULT map[int64][]int64
View Source
var Inner_Num_DEFAULT int32 = 5
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var MixedStruct_IntList_DEFAULT []int32

Functions

This section is empty.

Types

type AEnum

type AEnum int64
const (
	AEnum_A AEnum = 1
	AEnum_B AEnum = 2
)

func AEnumFromString

func AEnumFromString(s string) (AEnum, error)

func AEnumPtr

func AEnumPtr(v AEnum) *AEnum

func (*AEnum) Scan

func (p *AEnum) Scan(value interface{}) (err error)

func (AEnum) String

func (p AEnum) String() string

func (*AEnum) Value

func (p *AEnum) Value() (driver.Value, error)

type EmptyStruct

type EmptyStruct struct {
	// contains filtered or unexported fields
}

func NewEmptyStruct

func NewEmptyStruct() *EmptyStruct

func (*EmptyStruct) BLength

func (p *EmptyStruct) BLength() int

func (*EmptyStruct) CarryingUnknownFields

func (p *EmptyStruct) CarryingUnknownFields() bool

func (*EmptyStruct) DeepEqual

func (p *EmptyStruct) DeepEqual(ano *EmptyStruct) bool

func (*EmptyStruct) FastRead

func (p *EmptyStruct) FastRead(buf []byte) (int, error)

func (*EmptyStruct) FastWrite

func (p *EmptyStruct) FastWrite(buf []byte) int

for compatibility

func (*EmptyStruct) FastWriteNocopy

func (p *EmptyStruct) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*EmptyStruct) InitDefault

func (p *EmptyStruct) InitDefault()

func (*EmptyStruct) Read

func (p *EmptyStruct) Read(iprot thrift.TProtocol) (err error)

func (*EmptyStruct) String

func (p *EmptyStruct) String() string

func (*EmptyStruct) Write

func (p *EmptyStruct) Write(oprot thrift.TProtocol) (err error)

type FullStruct

type FullStruct struct {
	Left          int32                              `thrift:"Left,1,required" frugal:"1,required,i32" json:"Left"`
	Right         int32                              `thrift:"Right,2,optional" frugal:"2,optional,i32" json:"Right,omitempty"`
	Dummy         []byte                             `thrift:"Dummy,3" frugal:"3,default,binary" json:"Dummy"`
	InnerReq      *Inner                             `thrift:"InnerReq,4" frugal:"4,default,Inner" json:"InnerReq"`
	Status        HTTPStatus                         `thrift:"status,5" frugal:"5,default,HTTPStatus" json:"status"`
	Str           string                             `thrift:"Str,6" frugal:"6,default,string" json:"Str"`
	EnumList      []HTTPStatus                       `thrift:"enum_list,7" frugal:"7,default,list<HTTPStatus>" json:"enum_list"`
	Strmap        map[int32]string                   `thrift:"Strmap,8,optional" frugal:"8,optional,map<i32:string>" json:"Strmap,omitempty"`
	Int64         int64                              `thrift:"Int64,9" frugal:"9,default,i64" json:"Int64"`
	IntList       []int32                            `thrift:"IntList,10,optional" frugal:"10,optional,list<i32>" json:"IntList,omitempty"`
	LocalList     []*Local                           `thrift:"localList,11" frugal:"11,default,list<Local>" json:"localList"`
	StrLocalMap   map[string]*Local                  `thrift:"StrLocalMap,12" frugal:"12,default,map<string:Local>" json:"StrLocalMap"`
	NestList      [][]int32                          `thrift:"nestList,13" frugal:"13,default,list<list<i32>>" json:"nestList"`
	RequiredIns   *Local                             `thrift:"required_ins,14,required" frugal:"14,required,Local" json:"required_ins"`
	NestMap       map[string][]string                `thrift:"nestMap,16" frugal:"16,default,map<string:list<string>>" json:"nestMap"`
	NestMap2      []map[string]HTTPStatus            `thrift:"nestMap2,17" frugal:"17,default,list<map<string:HTTPStatus>>" json:"nestMap2"`
	EnumMap       map[int32]HTTPStatus               `thrift:"enum_map,18" frugal:"18,default,map<i32:HTTPStatus>" json:"enum_map"`
	Strlist       []string                           `thrift:"Strlist,19" frugal:"19,default,list<string>" json:"Strlist"`
	OptionalIns   *Local                             `thrift:"optional_ins,20,optional" frugal:"20,optional,Local" json:"optional_ins,omitempty"`
	AnotherInner  *Inner                             `thrift:"AnotherInner,21" frugal:"21,default,Inner" json:"AnotherInner"`
	OptNilList    []string                           `thrift:"opt_nil_list,22,optional" frugal:"22,optional,list<string>" json:"opt_nil_list,omitempty"`
	NilList       []string                           `thrift:"nil_list,23" frugal:"23,default,list<string>" json:"nil_list"`
	OptNilInsList []*Inner                           `thrift:"opt_nil_ins_list,24,optional" frugal:"24,optional,list<Inner>" json:"opt_nil_ins_list,omitempty"`
	NilInsList    []*Inner                           `thrift:"nil_ins_list,25" frugal:"25,default,list<Inner>" json:"nil_ins_list"`
	OptStatus     *HTTPStatus                        `thrift:"opt_status,26,optional" frugal:"26,optional,HTTPStatus" json:"opt_status,omitempty"`
	EnumKeyMap    map[HTTPStatus]*Local              `thrift:"enum_key_map,27" frugal:"27,default,map<HTTPStatus:Local>" json:"enum_key_map"`
	Complex       map[HTTPStatus][]map[string]*Local `thrift:"complex,28" frugal:"28,default,map<HTTPStatus:list<map<string:Local>>>" json:"complex"`
	// contains filtered or unexported fields
}

func NewFullStruct

func NewFullStruct() *FullStruct

func (*FullStruct) BLength

func (p *FullStruct) BLength() int

func (*FullStruct) CarryingUnknownFields

func (p *FullStruct) CarryingUnknownFields() bool

func (*FullStruct) DeepEqual

func (p *FullStruct) DeepEqual(ano *FullStruct) bool

func (*FullStruct) FastRead

func (p *FullStruct) FastRead(buf []byte) (int, error)

func (*FullStruct) FastReadField1

func (p *FullStruct) FastReadField1(buf []byte) (int, error)

func (*FullStruct) FastReadField10

func (p *FullStruct) FastReadField10(buf []byte) (int, error)

func (*FullStruct) FastReadField11

func (p *FullStruct) FastReadField11(buf []byte) (int, error)

func (*FullStruct) FastReadField12

func (p *FullStruct) FastReadField12(buf []byte) (int, error)

func (*FullStruct) FastReadField13

func (p *FullStruct) FastReadField13(buf []byte) (int, error)

func (*FullStruct) FastReadField14

func (p *FullStruct) FastReadField14(buf []byte) (int, error)

func (*FullStruct) FastReadField16

func (p *FullStruct) FastReadField16(buf []byte) (int, error)

func (*FullStruct) FastReadField17

func (p *FullStruct) FastReadField17(buf []byte) (int, error)

func (*FullStruct) FastReadField18

func (p *FullStruct) FastReadField18(buf []byte) (int, error)

func (*FullStruct) FastReadField19

func (p *FullStruct) FastReadField19(buf []byte) (int, error)

func (*FullStruct) FastReadField2

func (p *FullStruct) FastReadField2(buf []byte) (int, error)

func (*FullStruct) FastReadField20

func (p *FullStruct) FastReadField20(buf []byte) (int, error)

func (*FullStruct) FastReadField21

func (p *FullStruct) FastReadField21(buf []byte) (int, error)

func (*FullStruct) FastReadField22

func (p *FullStruct) FastReadField22(buf []byte) (int, error)

func (*FullStruct) FastReadField23

func (p *FullStruct) FastReadField23(buf []byte) (int, error)

func (*FullStruct) FastReadField24

func (p *FullStruct) FastReadField24(buf []byte) (int, error)

func (*FullStruct) FastReadField25

func (p *FullStruct) FastReadField25(buf []byte) (int, error)

func (*FullStruct) FastReadField26

func (p *FullStruct) FastReadField26(buf []byte) (int, error)

func (*FullStruct) FastReadField27

func (p *FullStruct) FastReadField27(buf []byte) (int, error)

func (*FullStruct) FastReadField28

func (p *FullStruct) FastReadField28(buf []byte) (int, error)

func (*FullStruct) FastReadField3

func (p *FullStruct) FastReadField3(buf []byte) (int, error)

func (*FullStruct) FastReadField4

func (p *FullStruct) FastReadField4(buf []byte) (int, error)

func (*FullStruct) FastReadField5

func (p *FullStruct) FastReadField5(buf []byte) (int, error)

func (*FullStruct) FastReadField6

func (p *FullStruct) FastReadField6(buf []byte) (int, error)

func (*FullStruct) FastReadField7

func (p *FullStruct) FastReadField7(buf []byte) (int, error)

func (*FullStruct) FastReadField8

func (p *FullStruct) FastReadField8(buf []byte) (int, error)

func (*FullStruct) FastReadField9

func (p *FullStruct) FastReadField9(buf []byte) (int, error)

func (*FullStruct) FastWrite

func (p *FullStruct) FastWrite(buf []byte) int

for compatibility

func (*FullStruct) FastWriteNocopy

func (p *FullStruct) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*FullStruct) Field10DeepEqual

func (p *FullStruct) Field10DeepEqual(src []int32) bool

func (*FullStruct) Field11DeepEqual

func (p *FullStruct) Field11DeepEqual(src []*Local) bool

func (*FullStruct) Field12DeepEqual

func (p *FullStruct) Field12DeepEqual(src map[string]*Local) bool

func (*FullStruct) Field13DeepEqual

func (p *FullStruct) Field13DeepEqual(src [][]int32) bool

func (*FullStruct) Field14DeepEqual

func (p *FullStruct) Field14DeepEqual(src *Local) bool

func (*FullStruct) Field16DeepEqual

func (p *FullStruct) Field16DeepEqual(src map[string][]string) bool

func (*FullStruct) Field17DeepEqual

func (p *FullStruct) Field17DeepEqual(src []map[string]HTTPStatus) bool

func (*FullStruct) Field18DeepEqual

func (p *FullStruct) Field18DeepEqual(src map[int32]HTTPStatus) bool

func (*FullStruct) Field19DeepEqual

func (p *FullStruct) Field19DeepEqual(src []string) bool

func (*FullStruct) Field1DeepEqual

func (p *FullStruct) Field1DeepEqual(src int32) bool

func (*FullStruct) Field20DeepEqual

func (p *FullStruct) Field20DeepEqual(src *Local) bool

func (*FullStruct) Field21DeepEqual

func (p *FullStruct) Field21DeepEqual(src *Inner) bool

func (*FullStruct) Field22DeepEqual

func (p *FullStruct) Field22DeepEqual(src []string) bool

func (*FullStruct) Field23DeepEqual

func (p *FullStruct) Field23DeepEqual(src []string) bool

func (*FullStruct) Field24DeepEqual

func (p *FullStruct) Field24DeepEqual(src []*Inner) bool

func (*FullStruct) Field25DeepEqual

func (p *FullStruct) Field25DeepEqual(src []*Inner) bool

func (*FullStruct) Field26DeepEqual

func (p *FullStruct) Field26DeepEqual(src *HTTPStatus) bool

func (*FullStruct) Field27DeepEqual

func (p *FullStruct) Field27DeepEqual(src map[HTTPStatus]*Local) bool

func (*FullStruct) Field28DeepEqual

func (p *FullStruct) Field28DeepEqual(src map[HTTPStatus][]map[string]*Local) bool

func (*FullStruct) Field2DeepEqual

func (p *FullStruct) Field2DeepEqual(src int32) bool

func (*FullStruct) Field3DeepEqual

func (p *FullStruct) Field3DeepEqual(src []byte) bool

func (*FullStruct) Field4DeepEqual

func (p *FullStruct) Field4DeepEqual(src *Inner) bool

func (*FullStruct) Field5DeepEqual

func (p *FullStruct) Field5DeepEqual(src HTTPStatus) bool

func (*FullStruct) Field6DeepEqual

func (p *FullStruct) Field6DeepEqual(src string) bool

func (*FullStruct) Field7DeepEqual

func (p *FullStruct) Field7DeepEqual(src []HTTPStatus) bool

func (*FullStruct) Field8DeepEqual

func (p *FullStruct) Field8DeepEqual(src map[int32]string) bool

func (*FullStruct) Field9DeepEqual

func (p *FullStruct) Field9DeepEqual(src int64) bool

func (*FullStruct) GetAnotherInner

func (p *FullStruct) GetAnotherInner() (v *Inner)

func (*FullStruct) GetComplex

func (p *FullStruct) GetComplex() (v map[HTTPStatus][]map[string]*Local)

func (*FullStruct) GetDummy

func (p *FullStruct) GetDummy() (v []byte)

func (*FullStruct) GetEnumKeyMap

func (p *FullStruct) GetEnumKeyMap() (v map[HTTPStatus]*Local)

func (*FullStruct) GetEnumList

func (p *FullStruct) GetEnumList() (v []HTTPStatus)

func (*FullStruct) GetEnumMap

func (p *FullStruct) GetEnumMap() (v map[int32]HTTPStatus)

func (*FullStruct) GetInnerReq

func (p *FullStruct) GetInnerReq() (v *Inner)

func (*FullStruct) GetInt64

func (p *FullStruct) GetInt64() (v int64)

func (*FullStruct) GetIntList

func (p *FullStruct) GetIntList() (v []int32)

func (*FullStruct) GetLeft

func (p *FullStruct) GetLeft() (v int32)

func (*FullStruct) GetLocalList

func (p *FullStruct) GetLocalList() (v []*Local)

func (*FullStruct) GetNestList

func (p *FullStruct) GetNestList() (v [][]int32)

func (*FullStruct) GetNestMap

func (p *FullStruct) GetNestMap() (v map[string][]string)

func (*FullStruct) GetNestMap2

func (p *FullStruct) GetNestMap2() (v []map[string]HTTPStatus)

func (*FullStruct) GetNilInsList

func (p *FullStruct) GetNilInsList() (v []*Inner)

func (*FullStruct) GetNilList

func (p *FullStruct) GetNilList() (v []string)

func (*FullStruct) GetOptNilInsList

func (p *FullStruct) GetOptNilInsList() (v []*Inner)

func (*FullStruct) GetOptNilList

func (p *FullStruct) GetOptNilList() (v []string)

func (*FullStruct) GetOptStatus

func (p *FullStruct) GetOptStatus() (v HTTPStatus)

func (*FullStruct) GetOptionalIns

func (p *FullStruct) GetOptionalIns() (v *Local)

func (*FullStruct) GetRequiredIns

func (p *FullStruct) GetRequiredIns() (v *Local)

func (*FullStruct) GetRight

func (p *FullStruct) GetRight() (v int32)

func (*FullStruct) GetStatus

func (p *FullStruct) GetStatus() (v HTTPStatus)

func (*FullStruct) GetStr

func (p *FullStruct) GetStr() (v string)

func (*FullStruct) GetStrLocalMap

func (p *FullStruct) GetStrLocalMap() (v map[string]*Local)

func (*FullStruct) GetStrlist

func (p *FullStruct) GetStrlist() (v []string)

func (*FullStruct) GetStrmap

func (p *FullStruct) GetStrmap() (v map[int32]string)

func (*FullStruct) InitDefault

func (p *FullStruct) InitDefault()

func (*FullStruct) IsSetAnotherInner

func (p *FullStruct) IsSetAnotherInner() bool

func (*FullStruct) IsSetInnerReq

func (p *FullStruct) IsSetInnerReq() bool

func (*FullStruct) IsSetIntList

func (p *FullStruct) IsSetIntList() bool

func (*FullStruct) IsSetOptNilInsList

func (p *FullStruct) IsSetOptNilInsList() bool

func (*FullStruct) IsSetOptNilList

func (p *FullStruct) IsSetOptNilList() bool

func (*FullStruct) IsSetOptStatus

func (p *FullStruct) IsSetOptStatus() bool

func (*FullStruct) IsSetOptionalIns

func (p *FullStruct) IsSetOptionalIns() bool

func (*FullStruct) IsSetRequiredIns

func (p *FullStruct) IsSetRequiredIns() bool

func (*FullStruct) IsSetRight

func (p *FullStruct) IsSetRight() bool

func (*FullStruct) IsSetStrmap

func (p *FullStruct) IsSetStrmap() bool

func (*FullStruct) Read

func (p *FullStruct) Read(iprot thrift.TProtocol) (err error)

func (*FullStruct) ReadField1

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

func (*FullStruct) ReadField10

func (p *FullStruct) ReadField10(iprot thrift.TProtocol) error

func (*FullStruct) ReadField11

func (p *FullStruct) ReadField11(iprot thrift.TProtocol) error

func (*FullStruct) ReadField12

func (p *FullStruct) ReadField12(iprot thrift.TProtocol) error

func (*FullStruct) ReadField13

func (p *FullStruct) ReadField13(iprot thrift.TProtocol) error

func (*FullStruct) ReadField14

func (p *FullStruct) ReadField14(iprot thrift.TProtocol) error

func (*FullStruct) ReadField16

func (p *FullStruct) ReadField16(iprot thrift.TProtocol) error

func (*FullStruct) ReadField17

func (p *FullStruct) ReadField17(iprot thrift.TProtocol) error

func (*FullStruct) ReadField18

func (p *FullStruct) ReadField18(iprot thrift.TProtocol) error

func (*FullStruct) ReadField19

func (p *FullStruct) ReadField19(iprot thrift.TProtocol) error

func (*FullStruct) ReadField2

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

func (*FullStruct) ReadField20

func (p *FullStruct) ReadField20(iprot thrift.TProtocol) error

func (*FullStruct) ReadField21

func (p *FullStruct) ReadField21(iprot thrift.TProtocol) error

func (*FullStruct) ReadField22

func (p *FullStruct) ReadField22(iprot thrift.TProtocol) error

func (*FullStruct) ReadField23

func (p *FullStruct) ReadField23(iprot thrift.TProtocol) error

func (*FullStruct) ReadField24

func (p *FullStruct) ReadField24(iprot thrift.TProtocol) error

func (*FullStruct) ReadField25

func (p *FullStruct) ReadField25(iprot thrift.TProtocol) error

func (*FullStruct) ReadField26

func (p *FullStruct) ReadField26(iprot thrift.TProtocol) error

func (*FullStruct) ReadField27

func (p *FullStruct) ReadField27(iprot thrift.TProtocol) error

func (*FullStruct) ReadField28

func (p *FullStruct) ReadField28(iprot thrift.TProtocol) error

func (*FullStruct) ReadField3

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

func (*FullStruct) ReadField4

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

func (*FullStruct) ReadField5

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

func (*FullStruct) ReadField6

func (p *FullStruct) ReadField6(iprot thrift.TProtocol) error

func (*FullStruct) ReadField7

func (p *FullStruct) ReadField7(iprot thrift.TProtocol) error

func (*FullStruct) ReadField8

func (p *FullStruct) ReadField8(iprot thrift.TProtocol) error

func (*FullStruct) ReadField9

func (p *FullStruct) ReadField9(iprot thrift.TProtocol) error

func (*FullStruct) SetAnotherInner

func (p *FullStruct) SetAnotherInner(val *Inner)

func (*FullStruct) SetComplex

func (p *FullStruct) SetComplex(val map[HTTPStatus][]map[string]*Local)

func (*FullStruct) SetDummy

func (p *FullStruct) SetDummy(val []byte)

func (*FullStruct) SetEnumKeyMap

func (p *FullStruct) SetEnumKeyMap(val map[HTTPStatus]*Local)

func (*FullStruct) SetEnumList

func (p *FullStruct) SetEnumList(val []HTTPStatus)

func (*FullStruct) SetEnumMap

func (p *FullStruct) SetEnumMap(val map[int32]HTTPStatus)

func (*FullStruct) SetInnerReq

func (p *FullStruct) SetInnerReq(val *Inner)

func (*FullStruct) SetInt64

func (p *FullStruct) SetInt64(val int64)

func (*FullStruct) SetIntList

func (p *FullStruct) SetIntList(val []int32)

func (*FullStruct) SetLeft

func (p *FullStruct) SetLeft(val int32)

func (*FullStruct) SetLocalList

func (p *FullStruct) SetLocalList(val []*Local)

func (*FullStruct) SetNestList

func (p *FullStruct) SetNestList(val [][]int32)

func (*FullStruct) SetNestMap

func (p *FullStruct) SetNestMap(val map[string][]string)

func (*FullStruct) SetNestMap2

func (p *FullStruct) SetNestMap2(val []map[string]HTTPStatus)

func (*FullStruct) SetNilInsList

func (p *FullStruct) SetNilInsList(val []*Inner)

func (*FullStruct) SetNilList

func (p *FullStruct) SetNilList(val []string)

func (*FullStruct) SetOptNilInsList

func (p *FullStruct) SetOptNilInsList(val []*Inner)

func (*FullStruct) SetOptNilList

func (p *FullStruct) SetOptNilList(val []string)

func (*FullStruct) SetOptStatus

func (p *FullStruct) SetOptStatus(val *HTTPStatus)

func (*FullStruct) SetOptionalIns

func (p *FullStruct) SetOptionalIns(val *Local)

func (*FullStruct) SetRequiredIns

func (p *FullStruct) SetRequiredIns(val *Local)

func (*FullStruct) SetRight

func (p *FullStruct) SetRight(val int32)

func (*FullStruct) SetStatus

func (p *FullStruct) SetStatus(val HTTPStatus)

func (*FullStruct) SetStr

func (p *FullStruct) SetStr(val string)

func (*FullStruct) SetStrLocalMap

func (p *FullStruct) SetStrLocalMap(val map[string]*Local)

func (*FullStruct) SetStrlist

func (p *FullStruct) SetStrlist(val []string)

func (*FullStruct) SetStrmap

func (p *FullStruct) SetStrmap(val map[int32]string)

func (*FullStruct) String

func (p *FullStruct) String() string

func (*FullStruct) Write

func (p *FullStruct) Write(oprot thrift.TProtocol) (err error)

type HTTPStatus

type HTTPStatus int64
const (
	HTTPStatus_OK        HTTPStatus = 200
	HTTPStatus_NOT_FOUND HTTPStatus = 404
)
var FullStruct_OptStatus_DEFAULT HTTPStatus

func HTTPStatusFromString

func HTTPStatusFromString(s string) (HTTPStatus, error)

func HTTPStatusPtr

func HTTPStatusPtr(v HTTPStatus) *HTTPStatus

func (*HTTPStatus) Scan

func (p *HTTPStatus) Scan(value interface{}) (err error)

func (HTTPStatus) String

func (p HTTPStatus) String() string

func (*HTTPStatus) Value

func (p *HTTPStatus) Value() (driver.Value, error)

type Inner

type Inner struct {
	Num          int32             `thrift:"Num,1,optional" frugal:"1,optional,i32" json:"Num,omitempty"`
	Desc         *string           `thrift:"desc,2,optional" frugal:"2,optional,string" json:"desc,omitempty"`
	MapOfList    map[int64][]int64 `thrift:"MapOfList,3,optional" frugal:"3,optional,map<i64:list<i64>>" json:"MapOfList,omitempty"`
	MapOfEnumKey map[AEnum]int64   `thrift:"MapOfEnumKey,4,optional" frugal:"4,optional,map<AEnum:i64>" json:"MapOfEnumKey,omitempty"`
	Byte1        *int8             `thrift:"Byte1,5,optional" frugal:"5,optional,byte" json:"Byte1,omitempty"`
	Double1      *float64          `thrift:"Double1,6,optional" frugal:"6,optional,double" json:"Double1,omitempty"`
	// contains filtered or unexported fields
}
var FullStruct_AnotherInner_DEFAULT *Inner
var FullStruct_InnerReq_DEFAULT *Inner
var MixedStruct_AnotherInner_DEFAULT *Inner

func NewInner

func NewInner() *Inner

func (*Inner) BLength

func (p *Inner) BLength() int

func (*Inner) CarryingUnknownFields

func (p *Inner) CarryingUnknownFields() bool

func (*Inner) DeepEqual

func (p *Inner) DeepEqual(ano *Inner) bool

func (*Inner) FastRead

func (p *Inner) FastRead(buf []byte) (int, error)

func (*Inner) FastReadField1

func (p *Inner) FastReadField1(buf []byte) (int, error)

func (*Inner) FastReadField2

func (p *Inner) FastReadField2(buf []byte) (int, error)

func (*Inner) FastReadField3

func (p *Inner) FastReadField3(buf []byte) (int, error)

func (*Inner) FastReadField4

func (p *Inner) FastReadField4(buf []byte) (int, error)

func (*Inner) FastReadField5

func (p *Inner) FastReadField5(buf []byte) (int, error)

func (*Inner) FastReadField6

func (p *Inner) FastReadField6(buf []byte) (int, error)

func (*Inner) FastWrite

func (p *Inner) FastWrite(buf []byte) int

for compatibility

func (*Inner) FastWriteNocopy

func (p *Inner) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Inner) Field1DeepEqual

func (p *Inner) Field1DeepEqual(src int32) bool

func (*Inner) Field2DeepEqual

func (p *Inner) Field2DeepEqual(src *string) bool

func (*Inner) Field3DeepEqual

func (p *Inner) Field3DeepEqual(src map[int64][]int64) bool

func (*Inner) Field4DeepEqual

func (p *Inner) Field4DeepEqual(src map[AEnum]int64) bool

func (*Inner) Field5DeepEqual

func (p *Inner) Field5DeepEqual(src *int8) bool

func (*Inner) Field6DeepEqual

func (p *Inner) Field6DeepEqual(src *float64) bool

func (*Inner) GetByte1

func (p *Inner) GetByte1() (v int8)

func (*Inner) GetDesc

func (p *Inner) GetDesc() (v string)

func (*Inner) GetDouble1

func (p *Inner) GetDouble1() (v float64)

func (*Inner) GetMapOfEnumKey

func (p *Inner) GetMapOfEnumKey() (v map[AEnum]int64)

func (*Inner) GetMapOfList

func (p *Inner) GetMapOfList() (v map[int64][]int64)

func (*Inner) GetNum

func (p *Inner) GetNum() (v int32)

func (*Inner) InitDefault

func (p *Inner) InitDefault()

func (*Inner) IsSetByte1

func (p *Inner) IsSetByte1() bool

func (*Inner) IsSetDesc

func (p *Inner) IsSetDesc() bool

func (*Inner) IsSetDouble1

func (p *Inner) IsSetDouble1() bool

func (*Inner) IsSetMapOfEnumKey

func (p *Inner) IsSetMapOfEnumKey() bool

func (*Inner) IsSetMapOfList

func (p *Inner) IsSetMapOfList() bool

func (*Inner) IsSetNum

func (p *Inner) IsSetNum() bool

func (*Inner) Read

func (p *Inner) Read(iprot thrift.TProtocol) (err error)

func (*Inner) ReadField1

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

func (*Inner) ReadField2

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

func (*Inner) ReadField3

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

func (*Inner) ReadField4

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

func (*Inner) ReadField5

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

func (*Inner) ReadField6

func (p *Inner) ReadField6(iprot thrift.TProtocol) error

func (*Inner) SetByte1

func (p *Inner) SetByte1(val *int8)

func (*Inner) SetDesc

func (p *Inner) SetDesc(val *string)

func (*Inner) SetDouble1

func (p *Inner) SetDouble1(val *float64)

func (*Inner) SetMapOfEnumKey

func (p *Inner) SetMapOfEnumKey(val map[AEnum]int64)

func (*Inner) SetMapOfList

func (p *Inner) SetMapOfList(val map[int64][]int64)

func (*Inner) SetNum

func (p *Inner) SetNum(val int32)

func (*Inner) String

func (p *Inner) String() string

func (*Inner) Write

func (p *Inner) Write(oprot thrift.TProtocol) (err error)

type Local

type Local struct {
	L int32 `thrift:"l,1" frugal:"1,default,i32" json:"l"`
	// contains filtered or unexported fields
}
var FullStruct_OptionalIns_DEFAULT *Local
var FullStruct_RequiredIns_DEFAULT *Local
var MixedStruct_OptionalIns_DEFAULT *Local
var MixedStruct_RequiredIns_DEFAULT *Local

func NewLocal

func NewLocal() *Local

func (*Local) BLength

func (p *Local) BLength() int

func (*Local) CarryingUnknownFields

func (p *Local) CarryingUnknownFields() bool

func (*Local) DeepEqual

func (p *Local) DeepEqual(ano *Local) bool

func (*Local) FastRead

func (p *Local) FastRead(buf []byte) (int, error)

func (*Local) FastReadField1

func (p *Local) FastReadField1(buf []byte) (int, error)

func (*Local) FastWrite

func (p *Local) FastWrite(buf []byte) int

for compatibility

func (*Local) FastWriteNocopy

func (p *Local) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Local) Field1DeepEqual

func (p *Local) Field1DeepEqual(src int32) bool

func (*Local) GetL

func (p *Local) GetL() (v int32)

func (*Local) GetUnknown

func (p *Local) GetUnknown() unknown.Fields

func (*Local) InitDefault

func (p *Local) InitDefault()

func (*Local) Read

func (p *Local) Read(iprot thrift.TProtocol) (err error)

func (*Local) ReadField1

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

func (*Local) SetL

func (p *Local) SetL(val int32)

func (*Local) SetUnknown

func (p *Local) SetUnknown(fs unknown.Fields)

func (*Local) String

func (p *Local) String() string

func (*Local) Write

func (p *Local) Write(oprot thrift.TProtocol) (err error)

type MixedStruct

type MixedStruct struct {
	Left         int32                 `thrift:"Left,1,required" frugal:"1,required,i32" json:"Left"`
	Dummy        []byte                `thrift:"Dummy,3" frugal:"3,default,binary" json:"Dummy"`
	Str          string                `thrift:"Str,6" frugal:"6,default,string" json:"Str"`
	EnumList     []HTTPStatus          `thrift:"enum_list,7" frugal:"7,default,list<HTTPStatus>" json:"enum_list"`
	Int64        int64                 `thrift:"Int64,9" frugal:"9,default,i64" json:"Int64"`
	IntList      []int32               `thrift:"IntList,10,optional" frugal:"10,optional,list<i32>" json:"IntList,omitempty"`
	LocalList    []*Local              `thrift:"localList,11" frugal:"11,default,list<Local>" json:"localList"`
	StrLocalMap  map[string]*Local     `thrift:"StrLocalMap,12" frugal:"12,default,map<string:Local>" json:"StrLocalMap"`
	NestList     [][]int32             `thrift:"nestList,13" frugal:"13,default,list<list<i32>>" json:"nestList"`
	RequiredIns  *Local                `thrift:"required_ins,14,required" frugal:"14,required,Local" json:"required_ins"`
	OptionalIns  *Local                `thrift:"optional_ins,20,optional" frugal:"20,optional,Local" json:"optional_ins,omitempty"`
	AnotherInner *Inner                `thrift:"AnotherInner,21" frugal:"21,default,Inner" json:"AnotherInner"`
	EnumKeyMap   map[HTTPStatus]*Local `thrift:"enum_key_map,27" frugal:"27,default,map<HTTPStatus:Local>" json:"enum_key_map"`
	// contains filtered or unexported fields
}

func NewMixedStruct

func NewMixedStruct() *MixedStruct

func (*MixedStruct) BLength

func (p *MixedStruct) BLength() int

func (*MixedStruct) CarryingUnknownFields

func (p *MixedStruct) CarryingUnknownFields() bool

func (*MixedStruct) DeepEqual

func (p *MixedStruct) DeepEqual(ano *MixedStruct) bool

func (*MixedStruct) FastRead

func (p *MixedStruct) FastRead(buf []byte) (int, error)

func (*MixedStruct) FastReadField1

func (p *MixedStruct) FastReadField1(buf []byte) (int, error)

func (*MixedStruct) FastReadField10

func (p *MixedStruct) FastReadField10(buf []byte) (int, error)

func (*MixedStruct) FastReadField11

func (p *MixedStruct) FastReadField11(buf []byte) (int, error)

func (*MixedStruct) FastReadField12

func (p *MixedStruct) FastReadField12(buf []byte) (int, error)

func (*MixedStruct) FastReadField13

func (p *MixedStruct) FastReadField13(buf []byte) (int, error)

func (*MixedStruct) FastReadField14

func (p *MixedStruct) FastReadField14(buf []byte) (int, error)

func (*MixedStruct) FastReadField20

func (p *MixedStruct) FastReadField20(buf []byte) (int, error)

func (*MixedStruct) FastReadField21

func (p *MixedStruct) FastReadField21(buf []byte) (int, error)

func (*MixedStruct) FastReadField27

func (p *MixedStruct) FastReadField27(buf []byte) (int, error)

func (*MixedStruct) FastReadField3

func (p *MixedStruct) FastReadField3(buf []byte) (int, error)

func (*MixedStruct) FastReadField6

func (p *MixedStruct) FastReadField6(buf []byte) (int, error)

func (*MixedStruct) FastReadField7

func (p *MixedStruct) FastReadField7(buf []byte) (int, error)

func (*MixedStruct) FastReadField9

func (p *MixedStruct) FastReadField9(buf []byte) (int, error)

func (*MixedStruct) FastWrite

func (p *MixedStruct) FastWrite(buf []byte) int

for compatibility

func (*MixedStruct) FastWriteNocopy

func (p *MixedStruct) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MixedStruct) Field10DeepEqual

func (p *MixedStruct) Field10DeepEqual(src []int32) bool

func (*MixedStruct) Field11DeepEqual

func (p *MixedStruct) Field11DeepEqual(src []*Local) bool

func (*MixedStruct) Field12DeepEqual

func (p *MixedStruct) Field12DeepEqual(src map[string]*Local) bool

func (*MixedStruct) Field13DeepEqual

func (p *MixedStruct) Field13DeepEqual(src [][]int32) bool

func (*MixedStruct) Field14DeepEqual

func (p *MixedStruct) Field14DeepEqual(src *Local) bool

func (*MixedStruct) Field1DeepEqual

func (p *MixedStruct) Field1DeepEqual(src int32) bool

func (*MixedStruct) Field20DeepEqual

func (p *MixedStruct) Field20DeepEqual(src *Local) bool

func (*MixedStruct) Field21DeepEqual

func (p *MixedStruct) Field21DeepEqual(src *Inner) bool

func (*MixedStruct) Field27DeepEqual

func (p *MixedStruct) Field27DeepEqual(src map[HTTPStatus]*Local) bool

func (*MixedStruct) Field3DeepEqual

func (p *MixedStruct) Field3DeepEqual(src []byte) bool

func (*MixedStruct) Field6DeepEqual

func (p *MixedStruct) Field6DeepEqual(src string) bool

func (*MixedStruct) Field7DeepEqual

func (p *MixedStruct) Field7DeepEqual(src []HTTPStatus) bool

func (*MixedStruct) Field9DeepEqual

func (p *MixedStruct) Field9DeepEqual(src int64) bool

func (*MixedStruct) GetAnotherInner

func (p *MixedStruct) GetAnotherInner() (v *Inner)

func (*MixedStruct) GetDummy

func (p *MixedStruct) GetDummy() (v []byte)

func (*MixedStruct) GetEnumKeyMap

func (p *MixedStruct) GetEnumKeyMap() (v map[HTTPStatus]*Local)

func (*MixedStruct) GetEnumList

func (p *MixedStruct) GetEnumList() (v []HTTPStatus)

func (*MixedStruct) GetInt64

func (p *MixedStruct) GetInt64() (v int64)

func (*MixedStruct) GetIntList

func (p *MixedStruct) GetIntList() (v []int32)

func (*MixedStruct) GetLeft

func (p *MixedStruct) GetLeft() (v int32)

func (*MixedStruct) GetLocalList

func (p *MixedStruct) GetLocalList() (v []*Local)

func (*MixedStruct) GetNestList

func (p *MixedStruct) GetNestList() (v [][]int32)

func (*MixedStruct) GetOptionalIns

func (p *MixedStruct) GetOptionalIns() (v *Local)

func (*MixedStruct) GetRequiredIns

func (p *MixedStruct) GetRequiredIns() (v *Local)

func (*MixedStruct) GetStr

func (p *MixedStruct) GetStr() (v string)

func (*MixedStruct) GetStrLocalMap

func (p *MixedStruct) GetStrLocalMap() (v map[string]*Local)

func (*MixedStruct) GetUnknown

func (p *MixedStruct) GetUnknown() unknown.Fields

func (*MixedStruct) InitDefault

func (p *MixedStruct) InitDefault()

func (*MixedStruct) IsSetAnotherInner

func (p *MixedStruct) IsSetAnotherInner() bool

func (*MixedStruct) IsSetIntList

func (p *MixedStruct) IsSetIntList() bool

func (*MixedStruct) IsSetOptionalIns

func (p *MixedStruct) IsSetOptionalIns() bool

func (*MixedStruct) IsSetRequiredIns

func (p *MixedStruct) IsSetRequiredIns() bool

func (*MixedStruct) Read

func (p *MixedStruct) Read(iprot thrift.TProtocol) (err error)

func (*MixedStruct) ReadField1

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

func (*MixedStruct) ReadField10

func (p *MixedStruct) ReadField10(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField11

func (p *MixedStruct) ReadField11(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField12

func (p *MixedStruct) ReadField12(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField13

func (p *MixedStruct) ReadField13(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField14

func (p *MixedStruct) ReadField14(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField20

func (p *MixedStruct) ReadField20(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField21

func (p *MixedStruct) ReadField21(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField27

func (p *MixedStruct) ReadField27(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField3

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

func (*MixedStruct) ReadField6

func (p *MixedStruct) ReadField6(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField7

func (p *MixedStruct) ReadField7(iprot thrift.TProtocol) error

func (*MixedStruct) ReadField9

func (p *MixedStruct) ReadField9(iprot thrift.TProtocol) error

func (*MixedStruct) SetAnotherInner

func (p *MixedStruct) SetAnotherInner(val *Inner)

func (*MixedStruct) SetDummy

func (p *MixedStruct) SetDummy(val []byte)

func (*MixedStruct) SetEnumKeyMap

func (p *MixedStruct) SetEnumKeyMap(val map[HTTPStatus]*Local)

func (*MixedStruct) SetEnumList

func (p *MixedStruct) SetEnumList(val []HTTPStatus)

func (*MixedStruct) SetInt64

func (p *MixedStruct) SetInt64(val int64)

func (*MixedStruct) SetIntList

func (p *MixedStruct) SetIntList(val []int32)

func (*MixedStruct) SetLeft

func (p *MixedStruct) SetLeft(val int32)

func (*MixedStruct) SetLocalList

func (p *MixedStruct) SetLocalList(val []*Local)

func (*MixedStruct) SetNestList

func (p *MixedStruct) SetNestList(val [][]int32)

func (*MixedStruct) SetOptionalIns

func (p *MixedStruct) SetOptionalIns(val *Local)

func (*MixedStruct) SetRequiredIns

func (p *MixedStruct) SetRequiredIns(val *Local)

func (*MixedStruct) SetStr

func (p *MixedStruct) SetStr(val string)

func (*MixedStruct) SetStrLocalMap

func (p *MixedStruct) SetStrLocalMap(val map[string]*Local)

func (*MixedStruct) String

func (p *MixedStruct) String() string

func (*MixedStruct) Write

func (p *MixedStruct) Write(oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

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