Documentation
¶
Index ¶
- Variables
- type GetPublicKeyRequest
- func (p *GetPublicKeyRequest) BLength() int
- func (p *GetPublicKeyRequest) FastRead(buf []byte) (int, error)
- func (p *GetPublicKeyRequest) FastWrite(buf []byte) int
- func (p *GetPublicKeyRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *GetPublicKeyRequest) InitDefault()
- func (p *GetPublicKeyRequest) String() string
- type GetPublicKeyResponse
- func (p *GetPublicKeyResponse) BLength() int
- func (p *GetPublicKeyResponse) FastRead(buf []byte) (int, error)
- func (p *GetPublicKeyResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetPublicKeyResponse) FastWrite(buf []byte) int
- func (p *GetPublicKeyResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *GetPublicKeyResponse) GetPublicKey() (v string)
- func (p *GetPublicKeyResponse) InitDefault()
- func (p *GetPublicKeyResponse) SetPublicKey(val string)
- func (p *GetPublicKeyResponse) String() string
- type LoginRequest
- func (p *LoginRequest) BLength() int
- func (p *LoginRequest) FastRead(buf []byte) (int, error)
- func (p *LoginRequest) FastReadField1(buf []byte) (int, error)
- func (p *LoginRequest) FastReadField2(buf []byte) (int, error)
- func (p *LoginRequest) FastWrite(buf []byte) int
- func (p *LoginRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LoginRequest) GetPassword() (v string)
- func (p *LoginRequest) GetUsername() (v string)
- func (p *LoginRequest) InitDefault()
- func (p *LoginRequest) SetPassword(val string)
- func (p *LoginRequest) SetUsername(val string)
- func (p *LoginRequest) String() string
- type LoginResponse
- func (p *LoginResponse) BLength() int
- func (p *LoginResponse) FastRead(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField1(buf []byte) (int, error)
- func (p *LoginResponse) FastReadField2(buf []byte) (int, error)
- func (p *LoginResponse) FastWrite(buf []byte) int
- func (p *LoginResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LoginResponse) GetBase() (v *base.BaseResponse)
- func (p *LoginResponse) GetToken() (v string)
- func (p *LoginResponse) InitDefault()
- func (p *LoginResponse) IsSetBase() bool
- func (p *LoginResponse) SetBase(val *base.BaseResponse)
- func (p *LoginResponse) SetToken(val string)
- func (p *LoginResponse) String() string
- type RegisterRequest
- func (p *RegisterRequest) BLength() int
- func (p *RegisterRequest) FastRead(buf []byte) (int, error)
- func (p *RegisterRequest) FastReadField1(buf []byte) (int, error)
- func (p *RegisterRequest) FastReadField2(buf []byte) (int, error)
- func (p *RegisterRequest) FastWrite(buf []byte) int
- func (p *RegisterRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RegisterRequest) GetPassword() (v string)
- func (p *RegisterRequest) GetUsername() (v string)
- func (p *RegisterRequest) InitDefault()
- func (p *RegisterRequest) SetPassword(val string)
- func (p *RegisterRequest) SetUsername(val string)
- func (p *RegisterRequest) String() string
- type RegisterResponse
- func (p *RegisterResponse) BLength() int
- func (p *RegisterResponse) FastRead(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField1(buf []byte) (int, error)
- func (p *RegisterResponse) FastReadField2(buf []byte) (int, error)
- func (p *RegisterResponse) FastWrite(buf []byte) int
- func (p *RegisterResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RegisterResponse) GetBase() (v *base.BaseResponse)
- func (p *RegisterResponse) GetId() (v int64)
- func (p *RegisterResponse) InitDefault()
- func (p *RegisterResponse) IsSetBase() bool
- func (p *RegisterResponse) SetBase(val *base.BaseResponse)
- func (p *RegisterResponse) SetId(val int64)
- func (p *RegisterResponse) String() string
- type UserService
- type UserServiceGetPublicKeyArgs
- func (p *UserServiceGetPublicKeyArgs) BLength() int
- func (p *UserServiceGetPublicKeyArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetPublicKeyArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceGetPublicKeyArgs) FastWrite(buf []byte) int
- func (p *UserServiceGetPublicKeyArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceGetPublicKeyArgs) GetFirstArgument() interface{}
- func (p *UserServiceGetPublicKeyArgs) GetRequest() (v *GetPublicKeyRequest)
- func (p *UserServiceGetPublicKeyArgs) InitDefault()
- func (p *UserServiceGetPublicKeyArgs) IsSetRequest() bool
- func (p *UserServiceGetPublicKeyArgs) SetRequest(val *GetPublicKeyRequest)
- func (p *UserServiceGetPublicKeyArgs) String() string
- type UserServiceGetPublicKeyResult
- func (p *UserServiceGetPublicKeyResult) BLength() int
- func (p *UserServiceGetPublicKeyResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceGetPublicKeyResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceGetPublicKeyResult) FastWrite(buf []byte) int
- func (p *UserServiceGetPublicKeyResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceGetPublicKeyResult) GetResult() interface{}
- func (p *UserServiceGetPublicKeyResult) GetSuccess() (v *GetPublicKeyResponse)
- func (p *UserServiceGetPublicKeyResult) InitDefault()
- func (p *UserServiceGetPublicKeyResult) IsSetSuccess() bool
- func (p *UserServiceGetPublicKeyResult) SetSuccess(x interface{})
- func (p *UserServiceGetPublicKeyResult) String() string
- type UserServiceLoginArgs
- func (p *UserServiceLoginArgs) BLength() int
- func (p *UserServiceLoginArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceLoginArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceLoginArgs) FastWrite(buf []byte) int
- func (p *UserServiceLoginArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceLoginArgs) GetFirstArgument() interface{}
- func (p *UserServiceLoginArgs) GetRequest() (v *LoginRequest)
- func (p *UserServiceLoginArgs) InitDefault()
- func (p *UserServiceLoginArgs) IsSetRequest() bool
- func (p *UserServiceLoginArgs) SetRequest(val *LoginRequest)
- func (p *UserServiceLoginArgs) String() string
- type UserServiceLoginResult
- func (p *UserServiceLoginResult) BLength() int
- func (p *UserServiceLoginResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceLoginResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceLoginResult) FastWrite(buf []byte) int
- func (p *UserServiceLoginResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceLoginResult) GetResult() interface{}
- func (p *UserServiceLoginResult) GetSuccess() (v *LoginResponse)
- func (p *UserServiceLoginResult) InitDefault()
- func (p *UserServiceLoginResult) IsSetSuccess() bool
- func (p *UserServiceLoginResult) SetSuccess(x interface{})
- func (p *UserServiceLoginResult) String() string
- type UserServiceRegisterArgs
- func (p *UserServiceRegisterArgs) BLength() int
- func (p *UserServiceRegisterArgs) FastRead(buf []byte) (int, error)
- func (p *UserServiceRegisterArgs) FastReadField1(buf []byte) (int, error)
- func (p *UserServiceRegisterArgs) FastWrite(buf []byte) int
- func (p *UserServiceRegisterArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceRegisterArgs) GetFirstArgument() interface{}
- func (p *UserServiceRegisterArgs) GetRequest() (v *RegisterRequest)
- func (p *UserServiceRegisterArgs) InitDefault()
- func (p *UserServiceRegisterArgs) IsSetRequest() bool
- func (p *UserServiceRegisterArgs) SetRequest(val *RegisterRequest)
- func (p *UserServiceRegisterArgs) String() string
- type UserServiceRegisterResult
- func (p *UserServiceRegisterResult) BLength() int
- func (p *UserServiceRegisterResult) FastRead(buf []byte) (int, error)
- func (p *UserServiceRegisterResult) FastReadField0(buf []byte) (int, error)
- func (p *UserServiceRegisterResult) FastWrite(buf []byte) int
- func (p *UserServiceRegisterResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *UserServiceRegisterResult) GetResult() interface{}
- func (p *UserServiceRegisterResult) GetSuccess() (v *RegisterResponse)
- func (p *UserServiceRegisterResult) InitDefault()
- func (p *UserServiceRegisterResult) IsSetSuccess() bool
- func (p *UserServiceRegisterResult) SetSuccess(x interface{})
- func (p *UserServiceRegisterResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var LoginResponse_Base_DEFAULT *base.BaseResponse
View Source
var RegisterResponse_Base_DEFAULT *base.BaseResponse
Functions ¶
This section is empty.
Types ¶
type GetPublicKeyRequest ¶
type GetPublicKeyRequest struct {
}
var UserServiceGetPublicKeyArgs_Request_DEFAULT *GetPublicKeyRequest
func NewGetPublicKeyRequest ¶
func NewGetPublicKeyRequest() *GetPublicKeyRequest
func (*GetPublicKeyRequest) BLength ¶
func (p *GetPublicKeyRequest) BLength() int
func (*GetPublicKeyRequest) FastRead ¶
func (p *GetPublicKeyRequest) FastRead(buf []byte) (int, error)
func (*GetPublicKeyRequest) FastWrite ¶
func (p *GetPublicKeyRequest) FastWrite(buf []byte) int
func (*GetPublicKeyRequest) FastWriteNocopy ¶
func (p *GetPublicKeyRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*GetPublicKeyRequest) InitDefault ¶
func (p *GetPublicKeyRequest) InitDefault()
func (*GetPublicKeyRequest) String ¶
func (p *GetPublicKeyRequest) String() string
type GetPublicKeyResponse ¶
type GetPublicKeyResponse struct {
PublicKey string `thrift:"publicKey,1,required" frugal:"1,required,string" json:"publicKey"`
}
var UserServiceGetPublicKeyResult_Success_DEFAULT *GetPublicKeyResponse
func NewGetPublicKeyResponse ¶
func NewGetPublicKeyResponse() *GetPublicKeyResponse
func (*GetPublicKeyResponse) BLength ¶
func (p *GetPublicKeyResponse) BLength() int
func (*GetPublicKeyResponse) FastRead ¶
func (p *GetPublicKeyResponse) FastRead(buf []byte) (int, error)
func (*GetPublicKeyResponse) FastReadField1 ¶
func (p *GetPublicKeyResponse) FastReadField1(buf []byte) (int, error)
func (*GetPublicKeyResponse) FastWrite ¶
func (p *GetPublicKeyResponse) FastWrite(buf []byte) int
func (*GetPublicKeyResponse) FastWriteNocopy ¶
func (p *GetPublicKeyResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*GetPublicKeyResponse) GetPublicKey ¶
func (p *GetPublicKeyResponse) GetPublicKey() (v string)
func (*GetPublicKeyResponse) InitDefault ¶
func (p *GetPublicKeyResponse) InitDefault()
func (*GetPublicKeyResponse) SetPublicKey ¶
func (p *GetPublicKeyResponse) SetPublicKey(val string)
func (*GetPublicKeyResponse) String ¶
func (p *GetPublicKeyResponse) String() string
type LoginRequest ¶
type LoginRequest 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 UserServiceLoginArgs_Request_DEFAULT *LoginRequest
func NewLoginRequest ¶
func NewLoginRequest() *LoginRequest
func (*LoginRequest) BLength ¶
func (p *LoginRequest) BLength() int
func (*LoginRequest) FastReadField1 ¶
func (p *LoginRequest) FastReadField1(buf []byte) (int, error)
func (*LoginRequest) FastReadField2 ¶
func (p *LoginRequest) FastReadField2(buf []byte) (int, error)
func (*LoginRequest) FastWrite ¶
func (p *LoginRequest) FastWrite(buf []byte) int
func (*LoginRequest) FastWriteNocopy ¶
func (p *LoginRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LoginRequest) GetPassword ¶
func (p *LoginRequest) GetPassword() (v string)
func (*LoginRequest) GetUsername ¶
func (p *LoginRequest) GetUsername() (v string)
func (*LoginRequest) InitDefault ¶
func (p *LoginRequest) InitDefault()
func (*LoginRequest) SetPassword ¶
func (p *LoginRequest) SetPassword(val string)
func (*LoginRequest) SetUsername ¶
func (p *LoginRequest) SetUsername(val string)
func (*LoginRequest) String ¶
func (p *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct {
Base *base.BaseResponse `thrift:"base,1,required" frugal:"1,required,base.BaseResponse" json:"base"`
Token string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var UserServiceLoginResult_Success_DEFAULT *LoginResponse
func NewLoginResponse ¶
func NewLoginResponse() *LoginResponse
func (*LoginResponse) BLength ¶
func (p *LoginResponse) BLength() int
func (*LoginResponse) FastReadField1 ¶
func (p *LoginResponse) FastReadField1(buf []byte) (int, error)
func (*LoginResponse) FastReadField2 ¶
func (p *LoginResponse) FastReadField2(buf []byte) (int, error)
func (*LoginResponse) FastWrite ¶
func (p *LoginResponse) FastWrite(buf []byte) int
func (*LoginResponse) FastWriteNocopy ¶
func (p *LoginResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LoginResponse) GetBase ¶
func (p *LoginResponse) GetBase() (v *base.BaseResponse)
func (*LoginResponse) GetToken ¶
func (p *LoginResponse) GetToken() (v string)
func (*LoginResponse) InitDefault ¶
func (p *LoginResponse) InitDefault()
func (*LoginResponse) IsSetBase ¶
func (p *LoginResponse) IsSetBase() bool
func (*LoginResponse) SetBase ¶
func (p *LoginResponse) SetBase(val *base.BaseResponse)
func (*LoginResponse) SetToken ¶
func (p *LoginResponse) SetToken(val string)
func (*LoginResponse) String ¶
func (p *LoginResponse) String() string
type RegisterRequest ¶
type RegisterRequest 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 UserServiceRegisterArgs_Request_DEFAULT *RegisterRequest
func NewRegisterRequest ¶
func NewRegisterRequest() *RegisterRequest
func (*RegisterRequest) BLength ¶
func (p *RegisterRequest) BLength() int
func (*RegisterRequest) FastReadField1 ¶
func (p *RegisterRequest) FastReadField1(buf []byte) (int, error)
func (*RegisterRequest) FastReadField2 ¶
func (p *RegisterRequest) FastReadField2(buf []byte) (int, error)
func (*RegisterRequest) FastWrite ¶
func (p *RegisterRequest) FastWrite(buf []byte) int
func (*RegisterRequest) FastWriteNocopy ¶
func (p *RegisterRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RegisterRequest) GetPassword ¶
func (p *RegisterRequest) GetPassword() (v string)
func (*RegisterRequest) GetUsername ¶
func (p *RegisterRequest) GetUsername() (v string)
func (*RegisterRequest) InitDefault ¶
func (p *RegisterRequest) InitDefault()
func (*RegisterRequest) SetPassword ¶
func (p *RegisterRequest) SetPassword(val string)
func (*RegisterRequest) SetUsername ¶
func (p *RegisterRequest) SetUsername(val string)
func (*RegisterRequest) String ¶
func (p *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct {
Base *base.BaseResponse `thrift:"base,1,required" frugal:"1,required,base.BaseResponse" json:"base"`
Id int64 `thrift:"id,2,required" frugal:"2,required,i64" json:"id"`
}
var UserServiceRegisterResult_Success_DEFAULT *RegisterResponse
func NewRegisterResponse ¶
func NewRegisterResponse() *RegisterResponse
func (*RegisterResponse) BLength ¶
func (p *RegisterResponse) BLength() int
func (*RegisterResponse) FastReadField1 ¶
func (p *RegisterResponse) FastReadField1(buf []byte) (int, error)
func (*RegisterResponse) FastReadField2 ¶
func (p *RegisterResponse) FastReadField2(buf []byte) (int, error)
func (*RegisterResponse) FastWrite ¶
func (p *RegisterResponse) FastWrite(buf []byte) int
func (*RegisterResponse) FastWriteNocopy ¶
func (p *RegisterResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RegisterResponse) GetBase ¶
func (p *RegisterResponse) GetBase() (v *base.BaseResponse)
func (*RegisterResponse) GetId ¶
func (p *RegisterResponse) GetId() (v int64)
func (*RegisterResponse) InitDefault ¶
func (p *RegisterResponse) InitDefault()
func (*RegisterResponse) IsSetBase ¶
func (p *RegisterResponse) IsSetBase() bool
func (*RegisterResponse) SetBase ¶
func (p *RegisterResponse) SetBase(val *base.BaseResponse)
func (*RegisterResponse) SetId ¶
func (p *RegisterResponse) SetId(val int64)
func (*RegisterResponse) String ¶
func (p *RegisterResponse) String() string
type UserService ¶
type UserService interface {
Register(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error)
Login(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error)
GetPublicKey(ctx context.Context, request *GetPublicKeyRequest) (r *GetPublicKeyResponse, err error)
}
type UserServiceGetPublicKeyArgs ¶
type UserServiceGetPublicKeyArgs struct {
Request *GetPublicKeyRequest `thrift:"request,1" frugal:"1,default,GetPublicKeyRequest" json:"request"`
}
func NewUserServiceGetPublicKeyArgs ¶
func NewUserServiceGetPublicKeyArgs() *UserServiceGetPublicKeyArgs
func (*UserServiceGetPublicKeyArgs) BLength ¶
func (p *UserServiceGetPublicKeyArgs) BLength() int
func (*UserServiceGetPublicKeyArgs) FastRead ¶
func (p *UserServiceGetPublicKeyArgs) FastRead(buf []byte) (int, error)
func (*UserServiceGetPublicKeyArgs) FastReadField1 ¶
func (p *UserServiceGetPublicKeyArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceGetPublicKeyArgs) FastWrite ¶
func (p *UserServiceGetPublicKeyArgs) FastWrite(buf []byte) int
func (*UserServiceGetPublicKeyArgs) FastWriteNocopy ¶
func (p *UserServiceGetPublicKeyArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceGetPublicKeyArgs) GetFirstArgument ¶
func (p *UserServiceGetPublicKeyArgs) GetFirstArgument() interface{}
func (*UserServiceGetPublicKeyArgs) GetRequest ¶
func (p *UserServiceGetPublicKeyArgs) GetRequest() (v *GetPublicKeyRequest)
func (*UserServiceGetPublicKeyArgs) InitDefault ¶
func (p *UserServiceGetPublicKeyArgs) InitDefault()
func (*UserServiceGetPublicKeyArgs) IsSetRequest ¶
func (p *UserServiceGetPublicKeyArgs) IsSetRequest() bool
func (*UserServiceGetPublicKeyArgs) SetRequest ¶
func (p *UserServiceGetPublicKeyArgs) SetRequest(val *GetPublicKeyRequest)
func (*UserServiceGetPublicKeyArgs) String ¶
func (p *UserServiceGetPublicKeyArgs) String() string
type UserServiceGetPublicKeyResult ¶
type UserServiceGetPublicKeyResult struct {
Success *GetPublicKeyResponse `thrift:"success,0,optional" frugal:"0,optional,GetPublicKeyResponse" json:"success,omitempty"`
}
func NewUserServiceGetPublicKeyResult ¶
func NewUserServiceGetPublicKeyResult() *UserServiceGetPublicKeyResult
func (*UserServiceGetPublicKeyResult) BLength ¶
func (p *UserServiceGetPublicKeyResult) BLength() int
func (*UserServiceGetPublicKeyResult) FastRead ¶
func (p *UserServiceGetPublicKeyResult) FastRead(buf []byte) (int, error)
func (*UserServiceGetPublicKeyResult) FastReadField0 ¶
func (p *UserServiceGetPublicKeyResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceGetPublicKeyResult) FastWrite ¶
func (p *UserServiceGetPublicKeyResult) FastWrite(buf []byte) int
func (*UserServiceGetPublicKeyResult) FastWriteNocopy ¶
func (p *UserServiceGetPublicKeyResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceGetPublicKeyResult) GetResult ¶
func (p *UserServiceGetPublicKeyResult) GetResult() interface{}
func (*UserServiceGetPublicKeyResult) GetSuccess ¶
func (p *UserServiceGetPublicKeyResult) GetSuccess() (v *GetPublicKeyResponse)
func (*UserServiceGetPublicKeyResult) InitDefault ¶
func (p *UserServiceGetPublicKeyResult) InitDefault()
func (*UserServiceGetPublicKeyResult) IsSetSuccess ¶
func (p *UserServiceGetPublicKeyResult) IsSetSuccess() bool
func (*UserServiceGetPublicKeyResult) SetSuccess ¶
func (p *UserServiceGetPublicKeyResult) SetSuccess(x interface{})
func (*UserServiceGetPublicKeyResult) String ¶
func (p *UserServiceGetPublicKeyResult) String() string
type UserServiceLoginArgs ¶
type UserServiceLoginArgs struct {
Request *LoginRequest `thrift:"request,1" frugal:"1,default,LoginRequest" json:"request"`
}
func NewUserServiceLoginArgs ¶
func NewUserServiceLoginArgs() *UserServiceLoginArgs
func (*UserServiceLoginArgs) BLength ¶
func (p *UserServiceLoginArgs) BLength() int
func (*UserServiceLoginArgs) FastRead ¶
func (p *UserServiceLoginArgs) FastRead(buf []byte) (int, error)
func (*UserServiceLoginArgs) FastReadField1 ¶
func (p *UserServiceLoginArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceLoginArgs) FastWrite ¶
func (p *UserServiceLoginArgs) FastWrite(buf []byte) int
func (*UserServiceLoginArgs) FastWriteNocopy ¶
func (p *UserServiceLoginArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceLoginArgs) GetFirstArgument ¶
func (p *UserServiceLoginArgs) GetFirstArgument() interface{}
func (*UserServiceLoginArgs) GetRequest ¶
func (p *UserServiceLoginArgs) GetRequest() (v *LoginRequest)
func (*UserServiceLoginArgs) InitDefault ¶
func (p *UserServiceLoginArgs) InitDefault()
func (*UserServiceLoginArgs) IsSetRequest ¶
func (p *UserServiceLoginArgs) IsSetRequest() bool
func (*UserServiceLoginArgs) SetRequest ¶
func (p *UserServiceLoginArgs) SetRequest(val *LoginRequest)
func (*UserServiceLoginArgs) String ¶
func (p *UserServiceLoginArgs) String() string
type UserServiceLoginResult ¶
type UserServiceLoginResult struct {
Success *LoginResponse `thrift:"success,0,optional" frugal:"0,optional,LoginResponse" json:"success,omitempty"`
}
func NewUserServiceLoginResult ¶
func NewUserServiceLoginResult() *UserServiceLoginResult
func (*UserServiceLoginResult) BLength ¶
func (p *UserServiceLoginResult) BLength() int
func (*UserServiceLoginResult) FastRead ¶
func (p *UserServiceLoginResult) FastRead(buf []byte) (int, error)
func (*UserServiceLoginResult) FastReadField0 ¶
func (p *UserServiceLoginResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceLoginResult) FastWrite ¶
func (p *UserServiceLoginResult) FastWrite(buf []byte) int
func (*UserServiceLoginResult) FastWriteNocopy ¶
func (p *UserServiceLoginResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceLoginResult) GetResult ¶
func (p *UserServiceLoginResult) GetResult() interface{}
func (*UserServiceLoginResult) GetSuccess ¶
func (p *UserServiceLoginResult) GetSuccess() (v *LoginResponse)
func (*UserServiceLoginResult) InitDefault ¶
func (p *UserServiceLoginResult) InitDefault()
func (*UserServiceLoginResult) IsSetSuccess ¶
func (p *UserServiceLoginResult) IsSetSuccess() bool
func (*UserServiceLoginResult) SetSuccess ¶
func (p *UserServiceLoginResult) SetSuccess(x interface{})
func (*UserServiceLoginResult) String ¶
func (p *UserServiceLoginResult) String() string
type UserServiceRegisterArgs ¶
type UserServiceRegisterArgs struct {
Request *RegisterRequest `thrift:"request,1" frugal:"1,default,RegisterRequest" json:"request"`
}
func NewUserServiceRegisterArgs ¶
func NewUserServiceRegisterArgs() *UserServiceRegisterArgs
func (*UserServiceRegisterArgs) BLength ¶
func (p *UserServiceRegisterArgs) BLength() int
func (*UserServiceRegisterArgs) FastRead ¶
func (p *UserServiceRegisterArgs) FastRead(buf []byte) (int, error)
func (*UserServiceRegisterArgs) FastReadField1 ¶
func (p *UserServiceRegisterArgs) FastReadField1(buf []byte) (int, error)
func (*UserServiceRegisterArgs) FastWrite ¶
func (p *UserServiceRegisterArgs) FastWrite(buf []byte) int
func (*UserServiceRegisterArgs) FastWriteNocopy ¶
func (p *UserServiceRegisterArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceRegisterArgs) GetFirstArgument ¶
func (p *UserServiceRegisterArgs) GetFirstArgument() interface{}
func (*UserServiceRegisterArgs) GetRequest ¶
func (p *UserServiceRegisterArgs) GetRequest() (v *RegisterRequest)
func (*UserServiceRegisterArgs) InitDefault ¶
func (p *UserServiceRegisterArgs) InitDefault()
func (*UserServiceRegisterArgs) IsSetRequest ¶
func (p *UserServiceRegisterArgs) IsSetRequest() bool
func (*UserServiceRegisterArgs) SetRequest ¶
func (p *UserServiceRegisterArgs) SetRequest(val *RegisterRequest)
func (*UserServiceRegisterArgs) String ¶
func (p *UserServiceRegisterArgs) String() string
type UserServiceRegisterResult ¶
type UserServiceRegisterResult struct {
Success *RegisterResponse `thrift:"success,0,optional" frugal:"0,optional,RegisterResponse" json:"success,omitempty"`
}
func NewUserServiceRegisterResult ¶
func NewUserServiceRegisterResult() *UserServiceRegisterResult
func (*UserServiceRegisterResult) BLength ¶
func (p *UserServiceRegisterResult) BLength() int
func (*UserServiceRegisterResult) FastRead ¶
func (p *UserServiceRegisterResult) FastRead(buf []byte) (int, error)
func (*UserServiceRegisterResult) FastReadField0 ¶
func (p *UserServiceRegisterResult) FastReadField0(buf []byte) (int, error)
func (*UserServiceRegisterResult) FastWrite ¶
func (p *UserServiceRegisterResult) FastWrite(buf []byte) int
func (*UserServiceRegisterResult) FastWriteNocopy ¶
func (p *UserServiceRegisterResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*UserServiceRegisterResult) GetResult ¶
func (p *UserServiceRegisterResult) GetResult() interface{}
func (*UserServiceRegisterResult) GetSuccess ¶
func (p *UserServiceRegisterResult) GetSuccess() (v *RegisterResponse)
func (*UserServiceRegisterResult) InitDefault ¶
func (p *UserServiceRegisterResult) InitDefault()
func (*UserServiceRegisterResult) IsSetSuccess ¶
func (p *UserServiceRegisterResult) IsSetSuccess() bool
func (*UserServiceRegisterResult) SetSuccess ¶
func (p *UserServiceRegisterResult) SetSuccess(x interface{})
func (*UserServiceRegisterResult) String ¶
func (p *UserServiceRegisterResult) String() string
Click to show internal directories.
Click to hide internal directories.