Documentation ¶
Index ¶
- Variables
- type AssetType
- type BizType
- type EventType
- type UserAsset
- func (p *UserAsset) BLength() int
- func (p *UserAsset) DeepEqual(ano *UserAsset) bool
- func (p *UserAsset) FastRead(buf []byte) (int, error)
- func (p *UserAsset) FastReadField1(buf []byte) (int, error)
- func (p *UserAsset) FastReadField2(buf []byte) (int, error)
- func (p *UserAsset) FastReadField3(buf []byte) (int, error)
- func (p *UserAsset) FastWrite(buf []byte) int
- func (p *UserAsset) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UserAsset) Field1DeepEqual(src int64) bool
- func (p *UserAsset) Field2DeepEqual(src AssetType) bool
- func (p *UserAsset) Field3DeepEqual(src int64) bool
- func (p *UserAsset) GetAssetCn() (v int64)
- func (p *UserAsset) GetAssetType() (v AssetType)
- func (p *UserAsset) GetUserId() (v int64)
- func (p *UserAsset) Read(iprot thrift.TProtocol) (err error)
- func (p *UserAsset) ReadField1(iprot thrift.TProtocol) error
- func (p *UserAsset) ReadField2(iprot thrift.TProtocol) error
- func (p *UserAsset) ReadField3(iprot thrift.TProtocol) error
- func (p *UserAsset) SetAssetCn(val int64)
- func (p *UserAsset) SetAssetType(val AssetType)
- func (p *UserAsset) SetUserId(val int64)
- func (p *UserAsset) String() string
- func (p *UserAsset) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type UserAsset ¶
type UserAsset struct { UserId int64 `thrift:"userId,1,required" json:"userId"` AssetType AssetType `thrift:"assetType,2,required" json:"assetType"` AssetCn int64 `thrift:"assetCn,3,required" json:"assetCn"` }
func NewUserAsset ¶
func NewUserAsset() *UserAsset
func (*UserAsset) FastWriteNocopy ¶
func (p *UserAsset) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*UserAsset) Field1DeepEqual ¶
func (*UserAsset) Field2DeepEqual ¶
func (*UserAsset) Field3DeepEqual ¶
func (*UserAsset) GetAssetCn ¶
func (*UserAsset) GetAssetType ¶
func (*UserAsset) SetAssetCn ¶
func (*UserAsset) SetAssetType ¶
Click to show internal directories.
Click to hide internal directories.