Documentation ¶
Index ¶
- Variables
- type EmptyResponse
- func (p *EmptyResponse) BLength() int
- func (p *EmptyResponse) DeepEqual(ano *EmptyResponse) bool
- func (p *EmptyResponse) FastRead(buf []byte) (int, error)
- func (p *EmptyResponse) FastWrite(buf []byte) int
- func (p *EmptyResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *EmptyResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *EmptyResponse) String() string
- func (p *EmptyResponse) Write(oprot thrift.TProtocol) (err error)
- type Error
- func (p *Error) BLength() int
- func (p *Error) DeepEqual(ano *Error) bool
- func (p *Error) Error() string
- func (p *Error) FastRead(buf []byte) (int, error)
- func (p *Error) FastReadField1(buf []byte) (int, error)
- func (p *Error) FastReadField2(buf []byte) (int, error)
- func (p *Error) FastReadField3(buf []byte) (int, error)
- func (p *Error) FastReadField4(buf []byte) (int, error)
- func (p *Error) FastWrite(buf []byte) int
- func (p *Error) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Error) Field1DeepEqual(src int32) bool
- func (p *Error) Field2DeepEqual(src string) bool
- func (p *Error) Field3DeepEqual(src string) bool
- func (p *Error) Field4DeepEqual(src map[string]string) bool
- func (p *Error) GetCode() (v string)
- func (p *Error) GetData() (v map[string]string)
- func (p *Error) GetHTTPCode() (v int32)
- func (p *Error) GetMessage() (v string)
- func (p *Error) Read(iprot thrift.TProtocol) (err error)
- func (p *Error) ReadField1(iprot thrift.TProtocol) error
- func (p *Error) ReadField2(iprot thrift.TProtocol) error
- func (p *Error) ReadField3(iprot thrift.TProtocol) error
- func (p *Error) ReadField4(iprot thrift.TProtocol) error
- func (p *Error) SetCode(val string)
- func (p *Error) SetData(val map[string]string)
- func (p *Error) SetHTTPCode(val int32)
- func (p *Error) SetMessage(val string)
- func (p *Error) String() string
- func (p *Error) Write(oprot thrift.TProtocol) (err error)
- type TopParam
- func (p *TopParam) BLength() int
- func (p *TopParam) DeepEqual(ano *TopParam) bool
- func (p *TopParam) FastRead(buf []byte) (int, error)
- func (p *TopParam) FastReadField1(buf []byte) (int, error)
- func (p *TopParam) FastReadField2(buf []byte) (int, error)
- func (p *TopParam) FastReadField3(buf []byte) (int, error)
- func (p *TopParam) FastReadField4(buf []byte) (int, error)
- func (p *TopParam) FastWrite(buf []byte) int
- func (p *TopParam) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *TopParam) Field1DeepEqual(src string) bool
- func (p *TopParam) Field2DeepEqual(src int64) bool
- func (p *TopParam) Field3DeepEqual(src int64) bool
- func (p *TopParam) Field4DeepEqual(src int64) bool
- func (p *TopParam) GetAccountId() (v int64)
- func (p *TopParam) GetRequestId() (v string)
- func (p *TopParam) GetRoleId() (v int64)
- func (p *TopParam) GetUserId() (v int64)
- func (p *TopParam) IsSetRoleId() bool
- func (p *TopParam) IsSetUserId() bool
- func (p *TopParam) Read(iprot thrift.TProtocol) (err error)
- func (p *TopParam) ReadField1(iprot thrift.TProtocol) error
- func (p *TopParam) ReadField2(iprot thrift.TProtocol) error
- func (p *TopParam) ReadField3(iprot thrift.TProtocol) error
- func (p *TopParam) ReadField4(iprot thrift.TProtocol) error
- func (p *TopParam) SetAccountId(val int64)
- func (p *TopParam) SetRequestId(val string)
- func (p *TopParam) SetRoleId(val int64)
- func (p *TopParam) SetUserId(val int64)
- func (p *TopParam) String() string
- func (p *TopParam) 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.
View Source
var TopParam_RoleId_DEFAULT int64 = 0
View Source
var TopParam_UserId_DEFAULT int64 = 0
Functions ¶
This section is empty.
Types ¶
type EmptyResponse ¶
type EmptyResponse struct { }
func NewEmptyResponse ¶
func NewEmptyResponse() *EmptyResponse
func (*EmptyResponse) BLength ¶
func (p *EmptyResponse) BLength() int
func (*EmptyResponse) DeepEqual ¶
func (p *EmptyResponse) DeepEqual(ano *EmptyResponse) bool
func (*EmptyResponse) FastWrite ¶
func (p *EmptyResponse) FastWrite(buf []byte) int
for compatibility
func (*EmptyResponse) FastWriteNocopy ¶
func (p *EmptyResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*EmptyResponse) String ¶
func (p *EmptyResponse) String() string
type Error ¶
type Error struct { HTTPCode int32 `thrift:"HTTPCode,1" json:"HTTPCode"` Code string `thrift:"Code,2" json:"Code"` Message string `thrift:"Message,3" json:"Message"` Data map[string]string `thrift:"Data,4" json:"Data"` }
func (*Error) FastWriteNocopy ¶
func (p *Error) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Error) Field1DeepEqual ¶
func (*Error) Field2DeepEqual ¶
func (*Error) Field3DeepEqual ¶
func (*Error) GetHTTPCode ¶
func (*Error) GetMessage ¶
func (*Error) SetHTTPCode ¶
func (*Error) SetMessage ¶
type TopParam ¶
type TopParam struct { RequestId string `thrift:"RequestId,1,required" header:"X-Top-Request-Id"` AccountId int64 `thrift:"AccountId,2,required" header:"X-Top-Account-Id"` UserId int64 `thrift:"UserId,3" header:"X-Top-User-Id"` RoleId int64 `thrift:"RoleId,4" header:"X-Top-Role-Id"` }
func NewTopParam ¶
func NewTopParam() *TopParam
func (*TopParam) FastWriteNocopy ¶
func (p *TopParam) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*TopParam) Field1DeepEqual ¶
func (*TopParam) Field2DeepEqual ¶
func (*TopParam) Field3DeepEqual ¶
func (*TopParam) Field4DeepEqual ¶
func (*TopParam) GetAccountId ¶
func (*TopParam) GetRequestId ¶
func (*TopParam) IsSetRoleId ¶
func (*TopParam) IsSetUserId ¶
func (*TopParam) SetAccountId ¶
func (*TopParam) SetRequestId ¶
Click to show internal directories.
Click to hide internal directories.