user

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var UserQueryResponse_User_DEFAULT *rpcmodel.User

Functions

This section is empty.

Types

type UserLoginRequest

type UserLoginRequest struct {
	Username string `thrift:"Username,1,required" frugal:"1,required,string" json:"Username"`
	Password string `thrift:"Password,2,required" frugal:"2,required,string" json:"Password"`
}
var UserServiceUserLoginArgs_Req_DEFAULT *UserLoginRequest

func NewUserLoginRequest

func NewUserLoginRequest() *UserLoginRequest

func (*UserLoginRequest) BLength

func (p *UserLoginRequest) BLength() int

func (*UserLoginRequest) DeepEqual

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

func (*UserLoginRequest) FastRead

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

func (*UserLoginRequest) FastReadField1

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

func (*UserLoginRequest) FastReadField2

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

func (*UserLoginRequest) FastWrite

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

for compatibility

func (*UserLoginRequest) FastWriteNocopy

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

func (*UserLoginRequest) Field1DeepEqual

func (p *UserLoginRequest) Field1DeepEqual(src string) bool

func (*UserLoginRequest) Field2DeepEqual

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

func (*UserLoginRequest) GetPassword

func (p *UserLoginRequest) GetPassword() (v string)

func (*UserLoginRequest) GetUsername

func (p *UserLoginRequest) GetUsername() (v string)

func (*UserLoginRequest) InitDefault

func (p *UserLoginRequest) InitDefault()

func (*UserLoginRequest) Read

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

func (*UserLoginRequest) ReadField1

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

func (*UserLoginRequest) ReadField2

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

func (*UserLoginRequest) SetPassword

func (p *UserLoginRequest) SetPassword(val string)

func (*UserLoginRequest) SetUsername

func (p *UserLoginRequest) SetUsername(val string)

func (*UserLoginRequest) String

func (p *UserLoginRequest) String() string

func (*UserLoginRequest) Write

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

type UserLoginResponse

type UserLoginResponse struct {
	UserId int64 `thrift:"UserId,1,required" frugal:"1,required,i64" json:"UserId"`
}
var UserServiceUserLoginResult_Success_DEFAULT *UserLoginResponse

func NewUserLoginResponse

func NewUserLoginResponse() *UserLoginResponse

func (*UserLoginResponse) BLength

func (p *UserLoginResponse) BLength() int

func (*UserLoginResponse) DeepEqual

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

func (*UserLoginResponse) FastRead

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

func (*UserLoginResponse) FastReadField1

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

func (*UserLoginResponse) FastWrite

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

for compatibility

func (*UserLoginResponse) FastWriteNocopy

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

func (*UserLoginResponse) Field1DeepEqual

func (p *UserLoginResponse) Field1DeepEqual(src int64) bool

func (*UserLoginResponse) GetUserId

func (p *UserLoginResponse) GetUserId() (v int64)

func (*UserLoginResponse) InitDefault

func (p *UserLoginResponse) InitDefault()

func (*UserLoginResponse) Read

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

func (*UserLoginResponse) ReadField1

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

func (*UserLoginResponse) SetUserId

func (p *UserLoginResponse) SetUserId(val int64)

func (*UserLoginResponse) String

func (p *UserLoginResponse) String() string

func (*UserLoginResponse) Write

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

type UserQueryRequest

type UserQueryRequest struct {
	UserId     int64 `thrift:"UserId,1,required" frugal:"1,required,i64" json:"UserId"`
	UserViewId int64 `thrift:"UserViewId,2,required" frugal:"2,required,i64" json:"UserViewId"`
}
var UserServiceUserQueryArgs_Req_DEFAULT *UserQueryRequest

func NewUserQueryRequest

func NewUserQueryRequest() *UserQueryRequest

func (*UserQueryRequest) BLength

func (p *UserQueryRequest) BLength() int

func (*UserQueryRequest) DeepEqual

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

func (*UserQueryRequest) FastRead

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

func (*UserQueryRequest) FastReadField1

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

func (*UserQueryRequest) FastReadField2 added in v0.0.2

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

func (*UserQueryRequest) FastWrite

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

for compatibility

func (*UserQueryRequest) FastWriteNocopy

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

func (*UserQueryRequest) Field1DeepEqual

func (p *UserQueryRequest) Field1DeepEqual(src int64) bool

func (*UserQueryRequest) Field2DeepEqual added in v0.0.2

func (p *UserQueryRequest) Field2DeepEqual(src int64) bool

func (*UserQueryRequest) GetUserId

func (p *UserQueryRequest) GetUserId() (v int64)

func (*UserQueryRequest) GetUserViewId added in v0.0.2

func (p *UserQueryRequest) GetUserViewId() (v int64)

func (*UserQueryRequest) InitDefault

func (p *UserQueryRequest) InitDefault()

func (*UserQueryRequest) Read

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

func (*UserQueryRequest) ReadField1

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

func (*UserQueryRequest) ReadField2 added in v0.0.2

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

func (*UserQueryRequest) SetUserId

func (p *UserQueryRequest) SetUserId(val int64)

func (*UserQueryRequest) SetUserViewId added in v0.0.2

func (p *UserQueryRequest) SetUserViewId(val int64)

func (*UserQueryRequest) String

func (p *UserQueryRequest) String() string

func (*UserQueryRequest) Write

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

type UserQueryResponse

type UserQueryResponse struct {
	User *rpcmodel.User `thrift:"User,1,required" frugal:"1,required,rpcmodel.User" json:"User"`
}
var UserServiceUserQueryResult_Success_DEFAULT *UserQueryResponse

func NewUserQueryResponse

func NewUserQueryResponse() *UserQueryResponse

func (*UserQueryResponse) BLength

func (p *UserQueryResponse) BLength() int

func (*UserQueryResponse) DeepEqual

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

func (*UserQueryResponse) FastRead

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

func (*UserQueryResponse) FastReadField1

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

func (*UserQueryResponse) FastWrite

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

for compatibility

func (*UserQueryResponse) FastWriteNocopy

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

func (*UserQueryResponse) Field1DeepEqual

func (p *UserQueryResponse) Field1DeepEqual(src *rpcmodel.User) bool

func (*UserQueryResponse) GetUser

func (p *UserQueryResponse) GetUser() (v *rpcmodel.User)

func (*UserQueryResponse) InitDefault

func (p *UserQueryResponse) InitDefault()

func (*UserQueryResponse) IsSetUser

func (p *UserQueryResponse) IsSetUser() bool

func (*UserQueryResponse) Read

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

func (*UserQueryResponse) ReadField1

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

func (*UserQueryResponse) SetUser

func (p *UserQueryResponse) SetUser(val *rpcmodel.User)

func (*UserQueryResponse) String

func (p *UserQueryResponse) String() string

func (*UserQueryResponse) Write

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

type UserRegisterRequest

type UserRegisterRequest struct {
	Username string `thrift:"Username,1,required" frugal:"1,required,string" json:"Username"`
	Password string `thrift:"Password,2,required" frugal:"2,required,string" json:"Password"`
}
var UserServiceUserRegisterArgs_Req_DEFAULT *UserRegisterRequest

func NewUserRegisterRequest

func NewUserRegisterRequest() *UserRegisterRequest

func (*UserRegisterRequest) BLength

func (p *UserRegisterRequest) BLength() int

func (*UserRegisterRequest) DeepEqual

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

func (*UserRegisterRequest) FastRead

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

func (*UserRegisterRequest) FastReadField1

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

func (*UserRegisterRequest) FastReadField2

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

func (*UserRegisterRequest) FastWrite

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

for compatibility

func (*UserRegisterRequest) FastWriteNocopy

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

func (*UserRegisterRequest) Field1DeepEqual

func (p *UserRegisterRequest) Field1DeepEqual(src string) bool

func (*UserRegisterRequest) Field2DeepEqual

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

func (*UserRegisterRequest) GetPassword

func (p *UserRegisterRequest) GetPassword() (v string)

func (*UserRegisterRequest) GetUsername

func (p *UserRegisterRequest) GetUsername() (v string)

func (*UserRegisterRequest) InitDefault

func (p *UserRegisterRequest) InitDefault()

func (*UserRegisterRequest) Read

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

func (*UserRegisterRequest) ReadField1

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

func (*UserRegisterRequest) ReadField2

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

func (*UserRegisterRequest) SetPassword

func (p *UserRegisterRequest) SetPassword(val string)

func (*UserRegisterRequest) SetUsername

func (p *UserRegisterRequest) SetUsername(val string)

func (*UserRegisterRequest) String

func (p *UserRegisterRequest) String() string

func (*UserRegisterRequest) Write

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

type UserRegisterResponse

type UserRegisterResponse struct {
	UserId int64 `thrift:"UserId,1,required" frugal:"1,required,i64" json:"UserId"`
}
var UserServiceUserRegisterResult_Success_DEFAULT *UserRegisterResponse

func NewUserRegisterResponse

func NewUserRegisterResponse() *UserRegisterResponse

func (*UserRegisterResponse) BLength

func (p *UserRegisterResponse) BLength() int

func (*UserRegisterResponse) DeepEqual

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

func (*UserRegisterResponse) FastRead

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

func (*UserRegisterResponse) FastReadField1

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

func (*UserRegisterResponse) FastWrite

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

for compatibility

func (*UserRegisterResponse) FastWriteNocopy

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

func (*UserRegisterResponse) Field1DeepEqual

func (p *UserRegisterResponse) Field1DeepEqual(src int64) bool

func (*UserRegisterResponse) GetUserId

func (p *UserRegisterResponse) GetUserId() (v int64)

func (*UserRegisterResponse) InitDefault

func (p *UserRegisterResponse) InitDefault()

func (*UserRegisterResponse) Read

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

func (*UserRegisterResponse) ReadField1

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

func (*UserRegisterResponse) SetUserId

func (p *UserRegisterResponse) SetUserId(val int64)

func (*UserRegisterResponse) String

func (p *UserRegisterResponse) String() string

func (*UserRegisterResponse) Write

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

type UserService

type UserService interface {
	UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error)

	UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)

	UserQuery(ctx context.Context, req *UserQueryRequest) (r *UserQueryResponse, err error)
}

type UserServiceClient

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

func NewUserServiceClient

func NewUserServiceClient(c thrift.TClient) *UserServiceClient

func NewUserServiceClientProtocol

func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserServiceClient

func (*UserServiceClient) Client_

func (p *UserServiceClient) Client_() thrift.TClient

func (*UserServiceClient) UserLogin

func (p *UserServiceClient) UserLogin(ctx context.Context, req *UserLoginRequest) (r *UserLoginResponse, err error)

func (*UserServiceClient) UserQuery

func (p *UserServiceClient) UserQuery(ctx context.Context, req *UserQueryRequest) (r *UserQueryResponse, err error)

func (*UserServiceClient) UserRegister

func (p *UserServiceClient) UserRegister(ctx context.Context, req *UserRegisterRequest) (r *UserRegisterResponse, err error)

type UserServiceProcessor

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

func NewUserServiceProcessor

func NewUserServiceProcessor(handler UserService) *UserServiceProcessor

func (*UserServiceProcessor) AddToProcessorMap

func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*UserServiceProcessor) GetProcessorFunction

func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*UserServiceProcessor) Process

func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*UserServiceProcessor) ProcessorMap

func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type UserServiceUserLoginArgs

type UserServiceUserLoginArgs struct {
	Req *UserLoginRequest `thrift:"req,1" frugal:"1,default,UserLoginRequest" json:"req"`
}

func NewUserServiceUserLoginArgs

func NewUserServiceUserLoginArgs() *UserServiceUserLoginArgs

func (*UserServiceUserLoginArgs) BLength

func (p *UserServiceUserLoginArgs) BLength() int

func (*UserServiceUserLoginArgs) DeepEqual

func (*UserServiceUserLoginArgs) FastRead

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

func (*UserServiceUserLoginArgs) FastReadField1

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

func (*UserServiceUserLoginArgs) FastWrite

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

for compatibility

func (*UserServiceUserLoginArgs) FastWriteNocopy

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

func (*UserServiceUserLoginArgs) Field1DeepEqual

func (p *UserServiceUserLoginArgs) Field1DeepEqual(src *UserLoginRequest) bool

func (*UserServiceUserLoginArgs) GetFirstArgument

func (p *UserServiceUserLoginArgs) GetFirstArgument() interface{}

func (*UserServiceUserLoginArgs) GetReq

func (p *UserServiceUserLoginArgs) GetReq() (v *UserLoginRequest)

func (*UserServiceUserLoginArgs) InitDefault

func (p *UserServiceUserLoginArgs) InitDefault()

func (*UserServiceUserLoginArgs) IsSetReq

func (p *UserServiceUserLoginArgs) IsSetReq() bool

func (*UserServiceUserLoginArgs) Read

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

func (*UserServiceUserLoginArgs) ReadField1

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

func (*UserServiceUserLoginArgs) SetReq

func (*UserServiceUserLoginArgs) String

func (p *UserServiceUserLoginArgs) String() string

func (*UserServiceUserLoginArgs) Write

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

type UserServiceUserLoginResult

type UserServiceUserLoginResult struct {
	Success *UserLoginResponse `thrift:"success,0,optional" frugal:"0,optional,UserLoginResponse" json:"success,omitempty"`
}

func NewUserServiceUserLoginResult

func NewUserServiceUserLoginResult() *UserServiceUserLoginResult

func (*UserServiceUserLoginResult) BLength

func (p *UserServiceUserLoginResult) BLength() int

func (*UserServiceUserLoginResult) DeepEqual

func (*UserServiceUserLoginResult) FastRead

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

func (*UserServiceUserLoginResult) FastReadField0

func (p *UserServiceUserLoginResult) FastReadField0(buf []byte) (int, error)

func (*UserServiceUserLoginResult) FastWrite

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

for compatibility

func (*UserServiceUserLoginResult) FastWriteNocopy

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

func (*UserServiceUserLoginResult) Field0DeepEqual

func (p *UserServiceUserLoginResult) Field0DeepEqual(src *UserLoginResponse) bool

func (*UserServiceUserLoginResult) GetResult

func (p *UserServiceUserLoginResult) GetResult() interface{}

func (*UserServiceUserLoginResult) GetSuccess

func (p *UserServiceUserLoginResult) GetSuccess() (v *UserLoginResponse)

func (*UserServiceUserLoginResult) InitDefault

func (p *UserServiceUserLoginResult) InitDefault()

func (*UserServiceUserLoginResult) IsSetSuccess

func (p *UserServiceUserLoginResult) IsSetSuccess() bool

func (*UserServiceUserLoginResult) Read

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

func (*UserServiceUserLoginResult) ReadField0

func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error

func (*UserServiceUserLoginResult) SetSuccess

func (p *UserServiceUserLoginResult) SetSuccess(x interface{})

func (*UserServiceUserLoginResult) String

func (p *UserServiceUserLoginResult) String() string

func (*UserServiceUserLoginResult) Write

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

type UserServiceUserQueryArgs

type UserServiceUserQueryArgs struct {
	Req *UserQueryRequest `thrift:"req,1" frugal:"1,default,UserQueryRequest" json:"req"`
}

func NewUserServiceUserQueryArgs

func NewUserServiceUserQueryArgs() *UserServiceUserQueryArgs

func (*UserServiceUserQueryArgs) BLength

func (p *UserServiceUserQueryArgs) BLength() int

func (*UserServiceUserQueryArgs) DeepEqual

func (*UserServiceUserQueryArgs) FastRead

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

func (*UserServiceUserQueryArgs) FastReadField1

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

func (*UserServiceUserQueryArgs) FastWrite

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

for compatibility

func (*UserServiceUserQueryArgs) FastWriteNocopy

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

func (*UserServiceUserQueryArgs) Field1DeepEqual

func (p *UserServiceUserQueryArgs) Field1DeepEqual(src *UserQueryRequest) bool

func (*UserServiceUserQueryArgs) GetFirstArgument

func (p *UserServiceUserQueryArgs) GetFirstArgument() interface{}

func (*UserServiceUserQueryArgs) GetReq

func (p *UserServiceUserQueryArgs) GetReq() (v *UserQueryRequest)

func (*UserServiceUserQueryArgs) InitDefault

func (p *UserServiceUserQueryArgs) InitDefault()

func (*UserServiceUserQueryArgs) IsSetReq

func (p *UserServiceUserQueryArgs) IsSetReq() bool

func (*UserServiceUserQueryArgs) Read

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

func (*UserServiceUserQueryArgs) ReadField1

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

func (*UserServiceUserQueryArgs) SetReq

func (*UserServiceUserQueryArgs) String

func (p *UserServiceUserQueryArgs) String() string

func (*UserServiceUserQueryArgs) Write

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

type UserServiceUserQueryResult

type UserServiceUserQueryResult struct {
	Success *UserQueryResponse `thrift:"success,0,optional" frugal:"0,optional,UserQueryResponse" json:"success,omitempty"`
}

func NewUserServiceUserQueryResult

func NewUserServiceUserQueryResult() *UserServiceUserQueryResult

func (*UserServiceUserQueryResult) BLength

func (p *UserServiceUserQueryResult) BLength() int

func (*UserServiceUserQueryResult) DeepEqual

func (*UserServiceUserQueryResult) FastRead

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

func (*UserServiceUserQueryResult) FastReadField0

func (p *UserServiceUserQueryResult) FastReadField0(buf []byte) (int, error)

func (*UserServiceUserQueryResult) FastWrite

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

for compatibility

func (*UserServiceUserQueryResult) FastWriteNocopy

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

func (*UserServiceUserQueryResult) Field0DeepEqual

func (p *UserServiceUserQueryResult) Field0DeepEqual(src *UserQueryResponse) bool

func (*UserServiceUserQueryResult) GetResult

func (p *UserServiceUserQueryResult) GetResult() interface{}

func (*UserServiceUserQueryResult) GetSuccess

func (p *UserServiceUserQueryResult) GetSuccess() (v *UserQueryResponse)

func (*UserServiceUserQueryResult) InitDefault

func (p *UserServiceUserQueryResult) InitDefault()

func (*UserServiceUserQueryResult) IsSetSuccess

func (p *UserServiceUserQueryResult) IsSetSuccess() bool

func (*UserServiceUserQueryResult) Read

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

func (*UserServiceUserQueryResult) ReadField0

func (p *UserServiceUserQueryResult) ReadField0(iprot thrift.TProtocol) error

func (*UserServiceUserQueryResult) SetSuccess

func (p *UserServiceUserQueryResult) SetSuccess(x interface{})

func (*UserServiceUserQueryResult) String

func (p *UserServiceUserQueryResult) String() string

func (*UserServiceUserQueryResult) Write

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

type UserServiceUserRegisterArgs

type UserServiceUserRegisterArgs struct {
	Req *UserRegisterRequest `thrift:"req,1" frugal:"1,default,UserRegisterRequest" json:"req"`
}

func NewUserServiceUserRegisterArgs

func NewUserServiceUserRegisterArgs() *UserServiceUserRegisterArgs

func (*UserServiceUserRegisterArgs) BLength

func (p *UserServiceUserRegisterArgs) BLength() int

func (*UserServiceUserRegisterArgs) DeepEqual

func (*UserServiceUserRegisterArgs) FastRead

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

func (*UserServiceUserRegisterArgs) FastReadField1

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

func (*UserServiceUserRegisterArgs) FastWrite

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

for compatibility

func (*UserServiceUserRegisterArgs) FastWriteNocopy

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

func (*UserServiceUserRegisterArgs) Field1DeepEqual

func (p *UserServiceUserRegisterArgs) Field1DeepEqual(src *UserRegisterRequest) bool

func (*UserServiceUserRegisterArgs) GetFirstArgument

func (p *UserServiceUserRegisterArgs) GetFirstArgument() interface{}

func (*UserServiceUserRegisterArgs) GetReq

func (*UserServiceUserRegisterArgs) InitDefault

func (p *UserServiceUserRegisterArgs) InitDefault()

func (*UserServiceUserRegisterArgs) IsSetReq

func (p *UserServiceUserRegisterArgs) IsSetReq() bool

func (*UserServiceUserRegisterArgs) Read

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

func (*UserServiceUserRegisterArgs) ReadField1

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

func (*UserServiceUserRegisterArgs) SetReq

func (*UserServiceUserRegisterArgs) String

func (p *UserServiceUserRegisterArgs) String() string

func (*UserServiceUserRegisterArgs) Write

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

type UserServiceUserRegisterResult

type UserServiceUserRegisterResult struct {
	Success *UserRegisterResponse `thrift:"success,0,optional" frugal:"0,optional,UserRegisterResponse" json:"success,omitempty"`
}

func NewUserServiceUserRegisterResult

func NewUserServiceUserRegisterResult() *UserServiceUserRegisterResult

func (*UserServiceUserRegisterResult) BLength

func (p *UserServiceUserRegisterResult) BLength() int

func (*UserServiceUserRegisterResult) DeepEqual

func (*UserServiceUserRegisterResult) FastRead

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

func (*UserServiceUserRegisterResult) FastReadField0

func (p *UserServiceUserRegisterResult) FastReadField0(buf []byte) (int, error)

func (*UserServiceUserRegisterResult) FastWrite

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

for compatibility

func (*UserServiceUserRegisterResult) FastWriteNocopy

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

func (*UserServiceUserRegisterResult) Field0DeepEqual

func (p *UserServiceUserRegisterResult) Field0DeepEqual(src *UserRegisterResponse) bool

func (*UserServiceUserRegisterResult) GetResult

func (p *UserServiceUserRegisterResult) GetResult() interface{}

func (*UserServiceUserRegisterResult) GetSuccess

func (*UserServiceUserRegisterResult) InitDefault

func (p *UserServiceUserRegisterResult) InitDefault()

func (*UserServiceUserRegisterResult) IsSetSuccess

func (p *UserServiceUserRegisterResult) IsSetSuccess() bool

func (*UserServiceUserRegisterResult) Read

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

func (*UserServiceUserRegisterResult) ReadField0

func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error

func (*UserServiceUserRegisterResult) SetSuccess

func (p *UserServiceUserRegisterResult) SetSuccess(x interface{})

func (*UserServiceUserRegisterResult) String

func (*UserServiceUserRegisterResult) Write

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

Directories

Path Synopsis
Code generated by Kitex v0.4.4.
Code generated by Kitex v0.4.4.

Jump to

Keyboard shortcuts

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