auth

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: GPL-3.0 Imports: 7 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.

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)

	UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)

	UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)

	GetUser(ctx context.Context, req *GetUserRequest) (r *UserInfo, err error)
}

type AuthServiceClient

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

func NewAuthServiceClient

func NewAuthServiceClient(c thrift.TClient) *AuthServiceClient

func NewAuthServiceClientProtocol

func NewAuthServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuthServiceClient

func (*AuthServiceClient) Client_

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

func (*AuthServiceClient) GetUser

func (p *AuthServiceClient) GetUser(ctx context.Context, req *GetUserRequest) (r *UserInfo, err error)

func (*AuthServiceClient) Login

func (p *AuthServiceClient) Login(ctx context.Context, req *LoginRequest) (r *LoginResponse, err error)

func (*AuthServiceClient) UpdateUser

func (p *AuthServiceClient) UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)

func (*AuthServiceClient) UploadAvatar

func (p *AuthServiceClient) UploadAvatar(ctx context.Context, req *UploadAvatarRequset) (r *UploadAvatarResponse, err error)

type AuthServiceGetUserArgs

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

func NewAuthServiceGetUserArgs

func NewAuthServiceGetUserArgs() *AuthServiceGetUserArgs

func (*AuthServiceGetUserArgs) BLength

func (p *AuthServiceGetUserArgs) BLength() int

func (*AuthServiceGetUserArgs) DeepEqual

func (*AuthServiceGetUserArgs) FastRead

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

func (*AuthServiceGetUserArgs) FastReadField1

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

func (*AuthServiceGetUserArgs) FastWrite

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

for compatibility

func (*AuthServiceGetUserArgs) FastWriteNocopy

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

func (*AuthServiceGetUserArgs) Field1DeepEqual

func (p *AuthServiceGetUserArgs) Field1DeepEqual(src *GetUserRequest) bool

func (*AuthServiceGetUserArgs) GetFirstArgument

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

func (*AuthServiceGetUserArgs) GetReq

func (p *AuthServiceGetUserArgs) GetReq() (v *GetUserRequest)

func (*AuthServiceGetUserArgs) InitDefault

func (p *AuthServiceGetUserArgs) InitDefault()

func (*AuthServiceGetUserArgs) IsSetReq

func (p *AuthServiceGetUserArgs) IsSetReq() bool

func (*AuthServiceGetUserArgs) Read

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

func (*AuthServiceGetUserArgs) ReadField1

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

func (*AuthServiceGetUserArgs) SetReq

func (p *AuthServiceGetUserArgs) SetReq(val *GetUserRequest)

func (*AuthServiceGetUserArgs) String

func (p *AuthServiceGetUserArgs) String() string

func (*AuthServiceGetUserArgs) Write

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

type AuthServiceGetUserResult

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

func NewAuthServiceGetUserResult

func NewAuthServiceGetUserResult() *AuthServiceGetUserResult

func (*AuthServiceGetUserResult) BLength

func (p *AuthServiceGetUserResult) BLength() int

func (*AuthServiceGetUserResult) DeepEqual

func (*AuthServiceGetUserResult) FastRead

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

func (*AuthServiceGetUserResult) FastReadField0

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

func (*AuthServiceGetUserResult) FastWrite

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

for compatibility

func (*AuthServiceGetUserResult) FastWriteNocopy

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

func (*AuthServiceGetUserResult) Field0DeepEqual

func (p *AuthServiceGetUserResult) Field0DeepEqual(src *UserInfo) bool

func (*AuthServiceGetUserResult) GetResult

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

func (*AuthServiceGetUserResult) GetSuccess

func (p *AuthServiceGetUserResult) GetSuccess() (v *UserInfo)

func (*AuthServiceGetUserResult) InitDefault

func (p *AuthServiceGetUserResult) InitDefault()

func (*AuthServiceGetUserResult) IsSetSuccess

func (p *AuthServiceGetUserResult) IsSetSuccess() bool

func (*AuthServiceGetUserResult) Read

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

func (*AuthServiceGetUserResult) ReadField0

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

func (*AuthServiceGetUserResult) SetSuccess

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

func (*AuthServiceGetUserResult) String

func (p *AuthServiceGetUserResult) String() string

func (*AuthServiceGetUserResult) Write

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

type AuthServiceLoginArgs

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

func NewAuthServiceLoginArgs

func NewAuthServiceLoginArgs() *AuthServiceLoginArgs

func (*AuthServiceLoginArgs) BLength

func (p *AuthServiceLoginArgs) BLength() int

func (*AuthServiceLoginArgs) DeepEqual

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

func (*AuthServiceLoginArgs) FastRead

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

func (*AuthServiceLoginArgs) FastReadField1

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

func (*AuthServiceLoginArgs) FastWrite

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

for compatibility

func (*AuthServiceLoginArgs) FastWriteNocopy

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

func (*AuthServiceLoginArgs) Field1DeepEqual

func (p *AuthServiceLoginArgs) Field1DeepEqual(src *LoginRequest) bool

func (*AuthServiceLoginArgs) GetFirstArgument

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

func (*AuthServiceLoginArgs) GetReq

func (p *AuthServiceLoginArgs) GetReq() (v *LoginRequest)

func (*AuthServiceLoginArgs) InitDefault

func (p *AuthServiceLoginArgs) InitDefault()

func (*AuthServiceLoginArgs) IsSetReq

func (p *AuthServiceLoginArgs) IsSetReq() bool

func (*AuthServiceLoginArgs) Read

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

func (*AuthServiceLoginArgs) ReadField1

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

func (*AuthServiceLoginArgs) SetReq

func (p *AuthServiceLoginArgs) SetReq(val *LoginRequest)

func (*AuthServiceLoginArgs) String

func (p *AuthServiceLoginArgs) String() string

func (*AuthServiceLoginArgs) Write

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

type AuthServiceLoginResult

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

func NewAuthServiceLoginResult

func NewAuthServiceLoginResult() *AuthServiceLoginResult

func (*AuthServiceLoginResult) BLength

func (p *AuthServiceLoginResult) BLength() int

func (*AuthServiceLoginResult) DeepEqual

func (*AuthServiceLoginResult) FastRead

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

func (*AuthServiceLoginResult) FastReadField0

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

func (*AuthServiceLoginResult) FastWrite

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

for compatibility

func (*AuthServiceLoginResult) FastWriteNocopy

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

func (*AuthServiceLoginResult) Field0DeepEqual

func (p *AuthServiceLoginResult) Field0DeepEqual(src *LoginResponse) bool

func (*AuthServiceLoginResult) GetResult

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

func (*AuthServiceLoginResult) GetSuccess

func (p *AuthServiceLoginResult) GetSuccess() (v *LoginResponse)

func (*AuthServiceLoginResult) InitDefault

func (p *AuthServiceLoginResult) InitDefault()

func (*AuthServiceLoginResult) IsSetSuccess

func (p *AuthServiceLoginResult) IsSetSuccess() bool

func (*AuthServiceLoginResult) Read

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

func (*AuthServiceLoginResult) ReadField0

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

func (*AuthServiceLoginResult) SetSuccess

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

func (*AuthServiceLoginResult) String

func (p *AuthServiceLoginResult) String() string

func (*AuthServiceLoginResult) Write

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

type AuthServiceProcessor

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

func NewAuthServiceProcessor

func NewAuthServiceProcessor(handler AuthService) *AuthServiceProcessor

func (*AuthServiceProcessor) AddToProcessorMap

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

func (*AuthServiceProcessor) GetProcessorFunction

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

func (*AuthServiceProcessor) Process

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

func (*AuthServiceProcessor) ProcessorMap

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

type AuthServiceUpdateUserArgs

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

func NewAuthServiceUpdateUserArgs

func NewAuthServiceUpdateUserArgs() *AuthServiceUpdateUserArgs

func (*AuthServiceUpdateUserArgs) BLength

func (p *AuthServiceUpdateUserArgs) BLength() int

func (*AuthServiceUpdateUserArgs) DeepEqual

func (*AuthServiceUpdateUserArgs) FastRead

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

func (*AuthServiceUpdateUserArgs) FastReadField1

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

func (*AuthServiceUpdateUserArgs) FastWrite

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

for compatibility

func (*AuthServiceUpdateUserArgs) FastWriteNocopy

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

func (*AuthServiceUpdateUserArgs) Field1DeepEqual

func (p *AuthServiceUpdateUserArgs) Field1DeepEqual(src *UpdateUserRequest) bool

func (*AuthServiceUpdateUserArgs) GetFirstArgument

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

func (*AuthServiceUpdateUserArgs) GetReq

func (*AuthServiceUpdateUserArgs) InitDefault

func (p *AuthServiceUpdateUserArgs) InitDefault()

func (*AuthServiceUpdateUserArgs) IsSetReq

func (p *AuthServiceUpdateUserArgs) IsSetReq() bool

func (*AuthServiceUpdateUserArgs) Read

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

func (*AuthServiceUpdateUserArgs) ReadField1

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

func (*AuthServiceUpdateUserArgs) SetReq

func (*AuthServiceUpdateUserArgs) String

func (p *AuthServiceUpdateUserArgs) String() string

func (*AuthServiceUpdateUserArgs) Write

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

type AuthServiceUpdateUserResult

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

func NewAuthServiceUpdateUserResult

func NewAuthServiceUpdateUserResult() *AuthServiceUpdateUserResult

func (*AuthServiceUpdateUserResult) BLength

func (p *AuthServiceUpdateUserResult) BLength() int

func (*AuthServiceUpdateUserResult) DeepEqual

func (*AuthServiceUpdateUserResult) FastRead

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

func (*AuthServiceUpdateUserResult) FastReadField0

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

func (*AuthServiceUpdateUserResult) FastWrite

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

for compatibility

func (*AuthServiceUpdateUserResult) FastWriteNocopy

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

func (*AuthServiceUpdateUserResult) Field0DeepEqual

func (p *AuthServiceUpdateUserResult) Field0DeepEqual(src *UpdateUserResponse) bool

func (*AuthServiceUpdateUserResult) GetResult

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

func (*AuthServiceUpdateUserResult) GetSuccess

func (p *AuthServiceUpdateUserResult) GetSuccess() (v *UpdateUserResponse)

func (*AuthServiceUpdateUserResult) InitDefault

func (p *AuthServiceUpdateUserResult) InitDefault()

func (*AuthServiceUpdateUserResult) IsSetSuccess

func (p *AuthServiceUpdateUserResult) IsSetSuccess() bool

func (*AuthServiceUpdateUserResult) Read

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

func (*AuthServiceUpdateUserResult) ReadField0

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

func (*AuthServiceUpdateUserResult) SetSuccess

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

func (*AuthServiceUpdateUserResult) String

func (p *AuthServiceUpdateUserResult) String() string

func (*AuthServiceUpdateUserResult) Write

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

type AuthServiceUploadAvatarArgs

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

func NewAuthServiceUploadAvatarArgs

func NewAuthServiceUploadAvatarArgs() *AuthServiceUploadAvatarArgs

func (*AuthServiceUploadAvatarArgs) BLength

func (p *AuthServiceUploadAvatarArgs) BLength() int

func (*AuthServiceUploadAvatarArgs) DeepEqual

func (*AuthServiceUploadAvatarArgs) FastRead

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

func (*AuthServiceUploadAvatarArgs) FastReadField1

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

func (*AuthServiceUploadAvatarArgs) FastWrite

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

for compatibility

func (*AuthServiceUploadAvatarArgs) FastWriteNocopy

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

func (*AuthServiceUploadAvatarArgs) Field1DeepEqual

func (p *AuthServiceUploadAvatarArgs) Field1DeepEqual(src *UploadAvatarRequset) bool

func (*AuthServiceUploadAvatarArgs) GetFirstArgument

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

func (*AuthServiceUploadAvatarArgs) GetReq

func (*AuthServiceUploadAvatarArgs) InitDefault

func (p *AuthServiceUploadAvatarArgs) InitDefault()

func (*AuthServiceUploadAvatarArgs) IsSetReq

func (p *AuthServiceUploadAvatarArgs) IsSetReq() bool

func (*AuthServiceUploadAvatarArgs) Read

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

func (*AuthServiceUploadAvatarArgs) ReadField1

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

func (*AuthServiceUploadAvatarArgs) SetReq

func (*AuthServiceUploadAvatarArgs) String

func (p *AuthServiceUploadAvatarArgs) String() string

func (*AuthServiceUploadAvatarArgs) Write

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

type AuthServiceUploadAvatarResult

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

func NewAuthServiceUploadAvatarResult

func NewAuthServiceUploadAvatarResult() *AuthServiceUploadAvatarResult

func (*AuthServiceUploadAvatarResult) BLength

func (p *AuthServiceUploadAvatarResult) BLength() int

func (*AuthServiceUploadAvatarResult) DeepEqual

func (*AuthServiceUploadAvatarResult) FastRead

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

func (*AuthServiceUploadAvatarResult) FastReadField0

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

func (*AuthServiceUploadAvatarResult) FastWrite

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

for compatibility

func (*AuthServiceUploadAvatarResult) FastWriteNocopy

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

func (*AuthServiceUploadAvatarResult) Field0DeepEqual

func (p *AuthServiceUploadAvatarResult) Field0DeepEqual(src *UploadAvatarResponse) bool

func (*AuthServiceUploadAvatarResult) GetResult

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

func (*AuthServiceUploadAvatarResult) GetSuccess

func (*AuthServiceUploadAvatarResult) InitDefault

func (p *AuthServiceUploadAvatarResult) InitDefault()

func (*AuthServiceUploadAvatarResult) IsSetSuccess

func (p *AuthServiceUploadAvatarResult) IsSetSuccess() bool

func (*AuthServiceUploadAvatarResult) Read

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

func (*AuthServiceUploadAvatarResult) ReadField0

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

func (*AuthServiceUploadAvatarResult) SetSuccess

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

func (*AuthServiceUploadAvatarResult) String

func (*AuthServiceUploadAvatarResult) Write

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

type GetUserRequest

type GetUserRequest struct {
	AccontId int64 `thrift:"accont_id,1" frugal:"1,default,i64" json:"accont_id"`
}
var AuthServiceGetUserArgs_Req_DEFAULT *GetUserRequest

func NewGetUserRequest

func NewGetUserRequest() *GetUserRequest

func (*GetUserRequest) BLength

func (p *GetUserRequest) BLength() int

func (*GetUserRequest) DeepEqual

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

func (*GetUserRequest) FastRead

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

func (*GetUserRequest) FastReadField1

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

func (*GetUserRequest) FastWrite

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

for compatibility

func (*GetUserRequest) FastWriteNocopy

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

func (*GetUserRequest) Field1DeepEqual

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

func (*GetUserRequest) GetAccontId

func (p *GetUserRequest) GetAccontId() (v int64)

func (*GetUserRequest) InitDefault

func (p *GetUserRequest) InitDefault()

func (*GetUserRequest) Read

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

func (*GetUserRequest) ReadField1

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

func (*GetUserRequest) SetAccontId

func (p *GetUserRequest) SetAccontId(val int64)

func (*GetUserRequest) String

func (p *GetUserRequest) String() string

func (*GetUserRequest) Write

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

type LoginRequest

type LoginRequest struct {
	Code string `thrift:"code,1" frugal:"1,default,string" json:"code"`
}
var AuthServiceLoginArgs_Req_DEFAULT *LoginRequest

func NewLoginRequest

func NewLoginRequest() *LoginRequest

func (*LoginRequest) BLength

func (p *LoginRequest) BLength() int

func (*LoginRequest) DeepEqual

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

func (*LoginRequest) FastRead

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

func (*LoginRequest) FastReadField1

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

func (*LoginRequest) FastWrite

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

for compatibility

func (*LoginRequest) FastWriteNocopy

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

func (*LoginRequest) Field1DeepEqual

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

func (*LoginRequest) GetCode

func (p *LoginRequest) GetCode() (v string)

func (*LoginRequest) InitDefault

func (p *LoginRequest) InitDefault()

func (*LoginRequest) Read

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

func (*LoginRequest) ReadField1

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

func (*LoginRequest) SetCode

func (p *LoginRequest) SetCode(val string)

func (*LoginRequest) String

func (p *LoginRequest) String() string

func (*LoginRequest) Write

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

type LoginResponse

type LoginResponse struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var AuthServiceLoginResult_Success_DEFAULT *LoginResponse

func NewLoginResponse

func NewLoginResponse() *LoginResponse

func (*LoginResponse) BLength

func (p *LoginResponse) BLength() int

func (*LoginResponse) DeepEqual

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

func (*LoginResponse) FastRead

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

func (*LoginResponse) FastReadField1

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

func (*LoginResponse) FastWrite

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

for compatibility

func (*LoginResponse) FastWriteNocopy

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

func (*LoginResponse) Field1DeepEqual

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

func (*LoginResponse) GetAccountId

func (p *LoginResponse) GetAccountId() (v int64)

func (*LoginResponse) InitDefault

func (p *LoginResponse) InitDefault()

func (*LoginResponse) Read

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

func (*LoginResponse) ReadField1

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

func (*LoginResponse) SetAccountId

func (p *LoginResponse) SetAccountId(val int64)

func (*LoginResponse) String

func (p *LoginResponse) String() string

func (*LoginResponse) Write

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

type UpdateUserRequest

type UpdateUserRequest struct {
	AccountId   int64  `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
	Username    string `thrift:"username,2" frugal:"2,default,string" json:"username"`
	PhoneNumber int64  `thrift:"phone_number,3" frugal:"3,default,i64" json:"phone_number"`
	AvatarUrl   string `thrift:"avatar_url,4" frugal:"4,default,string" json:"avatar_url"`
}
var AuthServiceUpdateUserArgs_Req_DEFAULT *UpdateUserRequest

func NewUpdateUserRequest

func NewUpdateUserRequest() *UpdateUserRequest

func (*UpdateUserRequest) BLength

func (p *UpdateUserRequest) BLength() int

func (*UpdateUserRequest) DeepEqual

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

func (*UpdateUserRequest) FastRead

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

func (*UpdateUserRequest) FastReadField1

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

func (*UpdateUserRequest) FastReadField2

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

func (*UpdateUserRequest) FastReadField3

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

func (*UpdateUserRequest) FastReadField4

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

func (*UpdateUserRequest) FastWrite

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

for compatibility

func (*UpdateUserRequest) FastWriteNocopy

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

func (*UpdateUserRequest) Field1DeepEqual

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

func (*UpdateUserRequest) Field2DeepEqual

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

func (*UpdateUserRequest) Field3DeepEqual

func (p *UpdateUserRequest) Field3DeepEqual(src int64) bool

func (*UpdateUserRequest) Field4DeepEqual

func (p *UpdateUserRequest) Field4DeepEqual(src string) bool

func (*UpdateUserRequest) GetAccountId

func (p *UpdateUserRequest) GetAccountId() (v int64)

func (*UpdateUserRequest) GetAvatarUrl

func (p *UpdateUserRequest) GetAvatarUrl() (v string)

func (*UpdateUserRequest) GetPhoneNumber

func (p *UpdateUserRequest) GetPhoneNumber() (v int64)

func (*UpdateUserRequest) GetUsername

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

func (*UpdateUserRequest) InitDefault

func (p *UpdateUserRequest) InitDefault()

func (*UpdateUserRequest) Read

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

func (*UpdateUserRequest) ReadField1

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

func (*UpdateUserRequest) ReadField2

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

func (*UpdateUserRequest) ReadField3

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

func (*UpdateUserRequest) ReadField4

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

func (*UpdateUserRequest) SetAccountId

func (p *UpdateUserRequest) SetAccountId(val int64)

func (*UpdateUserRequest) SetAvatarUrl

func (p *UpdateUserRequest) SetAvatarUrl(val string)

func (*UpdateUserRequest) SetPhoneNumber

func (p *UpdateUserRequest) SetPhoneNumber(val int64)

func (*UpdateUserRequest) SetUsername

func (p *UpdateUserRequest) SetUsername(val string)

func (*UpdateUserRequest) String

func (p *UpdateUserRequest) String() string

func (*UpdateUserRequest) Write

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

type UpdateUserResponse

type UpdateUserResponse struct {
}
var AuthServiceUpdateUserResult_Success_DEFAULT *UpdateUserResponse

func NewUpdateUserResponse

func NewUpdateUserResponse() *UpdateUserResponse

func (*UpdateUserResponse) BLength

func (p *UpdateUserResponse) BLength() int

func (*UpdateUserResponse) DeepEqual

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

func (*UpdateUserResponse) FastRead

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

func (*UpdateUserResponse) FastWrite

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

for compatibility

func (*UpdateUserResponse) FastWriteNocopy

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

func (*UpdateUserResponse) InitDefault

func (p *UpdateUserResponse) InitDefault()

func (*UpdateUserResponse) Read

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

func (*UpdateUserResponse) String

func (p *UpdateUserResponse) String() string

func (*UpdateUserResponse) Write

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

type UploadAvatarRequset

type UploadAvatarRequset struct {
	AccountId int64 `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
}
var AuthServiceUploadAvatarArgs_Req_DEFAULT *UploadAvatarRequset

func NewUploadAvatarRequset

func NewUploadAvatarRequset() *UploadAvatarRequset

func (*UploadAvatarRequset) BLength

func (p *UploadAvatarRequset) BLength() int

func (*UploadAvatarRequset) DeepEqual

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

func (*UploadAvatarRequset) FastRead

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

func (*UploadAvatarRequset) FastReadField1

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

func (*UploadAvatarRequset) FastWrite

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

for compatibility

func (*UploadAvatarRequset) FastWriteNocopy

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

func (*UploadAvatarRequset) Field1DeepEqual

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

func (*UploadAvatarRequset) GetAccountId

func (p *UploadAvatarRequset) GetAccountId() (v int64)

func (*UploadAvatarRequset) InitDefault

func (p *UploadAvatarRequset) InitDefault()

func (*UploadAvatarRequset) Read

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

func (*UploadAvatarRequset) ReadField1

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

func (*UploadAvatarRequset) SetAccountId

func (p *UploadAvatarRequset) SetAccountId(val int64)

func (*UploadAvatarRequset) String

func (p *UploadAvatarRequset) String() string

func (*UploadAvatarRequset) Write

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

type UploadAvatarResponse

type UploadAvatarResponse struct {
	UploadUrl string `thrift:"upload_url,1" frugal:"1,default,string" json:"upload_url"`
}
var AuthServiceUploadAvatarResult_Success_DEFAULT *UploadAvatarResponse

func NewUploadAvatarResponse

func NewUploadAvatarResponse() *UploadAvatarResponse

func (*UploadAvatarResponse) BLength

func (p *UploadAvatarResponse) BLength() int

func (*UploadAvatarResponse) DeepEqual

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

func (*UploadAvatarResponse) FastRead

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

func (*UploadAvatarResponse) FastReadField1

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

func (*UploadAvatarResponse) FastWrite

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

for compatibility

func (*UploadAvatarResponse) FastWriteNocopy

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

func (*UploadAvatarResponse) Field1DeepEqual

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

func (*UploadAvatarResponse) GetUploadUrl

func (p *UploadAvatarResponse) GetUploadUrl() (v string)

func (*UploadAvatarResponse) InitDefault

func (p *UploadAvatarResponse) InitDefault()

func (*UploadAvatarResponse) Read

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

func (*UploadAvatarResponse) ReadField1

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

func (*UploadAvatarResponse) SetUploadUrl

func (p *UploadAvatarResponse) SetUploadUrl(val string)

func (*UploadAvatarResponse) String

func (p *UploadAvatarResponse) String() string

func (*UploadAvatarResponse) Write

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

type UserInfo

type UserInfo struct {
	AccountId   int64  `thrift:"account_id,1" frugal:"1,default,i64" json:"account_id"`
	Username    string `thrift:"username,2" frugal:"2,default,string" json:"username"`
	PhoneNumber int64  `thrift:"phone_number,3" frugal:"3,default,i64" json:"phone_number"`
	AvatarUrl   string `thrift:"avatar_url,4" frugal:"4,default,string" json:"avatar_url"`
}
var AuthServiceGetUserResult_Success_DEFAULT *UserInfo

func NewUserInfo

func NewUserInfo() *UserInfo

func (*UserInfo) BLength

func (p *UserInfo) BLength() int

func (*UserInfo) DeepEqual

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

func (*UserInfo) FastRead

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

func (*UserInfo) FastReadField1

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

func (*UserInfo) FastReadField2

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

func (*UserInfo) FastReadField3

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

func (*UserInfo) FastReadField4

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

func (*UserInfo) FastWrite

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

for compatibility

func (*UserInfo) FastWriteNocopy

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

func (*UserInfo) Field1DeepEqual

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

func (*UserInfo) Field2DeepEqual

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

func (*UserInfo) Field3DeepEqual

func (p *UserInfo) Field3DeepEqual(src int64) bool

func (*UserInfo) Field4DeepEqual

func (p *UserInfo) Field4DeepEqual(src string) bool

func (*UserInfo) GetAccountId

func (p *UserInfo) GetAccountId() (v int64)

func (*UserInfo) GetAvatarUrl

func (p *UserInfo) GetAvatarUrl() (v string)

func (*UserInfo) GetPhoneNumber

func (p *UserInfo) GetPhoneNumber() (v int64)

func (*UserInfo) GetUsername

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

func (*UserInfo) InitDefault

func (p *UserInfo) InitDefault()

func (*UserInfo) Read

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

func (*UserInfo) ReadField1

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

func (*UserInfo) ReadField2

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

func (*UserInfo) ReadField3

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

func (*UserInfo) ReadField4

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

func (*UserInfo) SetAccountId

func (p *UserInfo) SetAccountId(val int64)

func (*UserInfo) SetAvatarUrl

func (p *UserInfo) SetAvatarUrl(val string)

func (*UserInfo) SetPhoneNumber

func (p *UserInfo) SetPhoneNumber(val int64)

func (*UserInfo) SetUsername

func (p *UserInfo) SetUsername(val string)

func (*UserInfo) String

func (p *UserInfo) String() string

func (*UserInfo) Write

func (p *UserInfo) 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