user

package
v0.0.0-...-44f988d Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueryUserRequest_Keyword_DEFAULT string

Functions

This section is empty.

Types

type Code

type Code int64
const (
	Code_Success      Code = 1
	Code_ParamInvalid Code = 2
	Code_DBErr        Code = 3
)

func CodeFromString

func CodeFromString(s string) (Code, error)

func CodePtr

func CodePtr(v Code) *Code

func (*Code) Scan

func (p *Code) Scan(value interface{}) (err error)

func (Code) String

func (p Code) String() string

func (*Code) Value

func (p *Code) Value() (driver.Value, error)

type CreateUserRequest

type CreateUserRequest struct {
	Name      string `thrift:"name,1" form:"name" form:"name" json:"name" vd:"(len($) > 0 && len($) < 100)"`
	Gender    Gender `thrift:"gender,2" form:"gender" json:"gender" vd:"($ == 1||$ == 2)"`
	Age       int64  `thrift:"age,3" form:"age" json:"age" vd:"$>0"`
	Introduce string `thrift:"introduce,4" form:"introduce" json:"introduce" vd:"(len($) > 0 && len($) < 1000)"`
}
var UserServiceCreateUserArgs_Req_DEFAULT *CreateUserRequest

func NewCreateUserRequest

func NewCreateUserRequest() *CreateUserRequest

func (*CreateUserRequest) GetAge

func (p *CreateUserRequest) GetAge() (v int64)

func (*CreateUserRequest) GetGender

func (p *CreateUserRequest) GetGender() (v Gender)

func (*CreateUserRequest) GetIntroduce

func (p *CreateUserRequest) GetIntroduce() (v string)

func (*CreateUserRequest) GetName

func (p *CreateUserRequest) GetName() (v string)

func (*CreateUserRequest) InitDefault

func (p *CreateUserRequest) InitDefault()

func (*CreateUserRequest) Read

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

func (*CreateUserRequest) ReadField1

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

func (*CreateUserRequest) ReadField2

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

func (*CreateUserRequest) ReadField3

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

func (*CreateUserRequest) ReadField4

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

func (*CreateUserRequest) String

func (p *CreateUserRequest) String() string

func (*CreateUserRequest) Write

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

type CreateUserResponse

type CreateUserResponse struct {
	Code Code   `thrift:"code,1" form:"code" json:"code"`
	Msg  string `thrift:"msg,2" form:"msg" json:"msg"`
}
var UserServiceCreateUserResult_Success_DEFAULT *CreateUserResponse

func NewCreateUserResponse

func NewCreateUserResponse() *CreateUserResponse

func (*CreateUserResponse) GetCode

func (p *CreateUserResponse) GetCode() (v Code)

func (*CreateUserResponse) GetMsg

func (p *CreateUserResponse) GetMsg() (v string)

func (*CreateUserResponse) InitDefault

func (p *CreateUserResponse) InitDefault()

func (*CreateUserResponse) Read

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

func (*CreateUserResponse) ReadField1

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

func (*CreateUserResponse) ReadField2

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

func (*CreateUserResponse) String

func (p *CreateUserResponse) String() string

func (*CreateUserResponse) Write

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

type DeleteUserRequest

type DeleteUserRequest struct {
	// user id
	UserID int64 `thrift:"user_id,1" json:"user_id" path:"user_id" vd:"$>0"`
}
var UserServiceDeleteUserArgs_Req_DEFAULT *DeleteUserRequest

func NewDeleteUserRequest

func NewDeleteUserRequest() *DeleteUserRequest

func (*DeleteUserRequest) GetUserID

func (p *DeleteUserRequest) GetUserID() (v int64)

func (*DeleteUserRequest) InitDefault

func (p *DeleteUserRequest) InitDefault()

func (*DeleteUserRequest) Read

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

func (*DeleteUserRequest) ReadField1

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

func (*DeleteUserRequest) String

func (p *DeleteUserRequest) String() string

func (*DeleteUserRequest) Write

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

type DeleteUserResponse

type DeleteUserResponse struct {
	Code Code   `thrift:"code,1" form:"code" json:"code"`
	Msg  string `thrift:"msg,2" form:"msg" json:"msg"`
}
var UserServiceDeleteUserResult_Success_DEFAULT *DeleteUserResponse

func NewDeleteUserResponse

func NewDeleteUserResponse() *DeleteUserResponse

func (*DeleteUserResponse) GetCode

func (p *DeleteUserResponse) GetCode() (v Code)

func (*DeleteUserResponse) GetMsg

func (p *DeleteUserResponse) GetMsg() (v string)

func (*DeleteUserResponse) InitDefault

func (p *DeleteUserResponse) InitDefault()

func (*DeleteUserResponse) Read

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

func (*DeleteUserResponse) ReadField1

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

func (*DeleteUserResponse) ReadField2

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

func (*DeleteUserResponse) String

func (p *DeleteUserResponse) String() string

func (*DeleteUserResponse) Write

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

type Gender

type Gender int64
const (
	Gender_Unknown Gender = 0
	Gender_Male    Gender = 1
	Gender_Female  Gender = 2
)

func GenderFromString

func GenderFromString(s string) (Gender, error)

func GenderPtr

func GenderPtr(v Gender) *Gender

func (*Gender) Scan

func (p *Gender) Scan(value interface{}) (err error)

func (Gender) String

func (p Gender) String() string

func (*Gender) Value

func (p *Gender) Value() (driver.Value, error)

type QueryUserRequest

type QueryUserRequest struct {
	Keyword  *string `thrift:"Keyword,1,optional" form:"keyword" form:"keyword" json:"keyword,omitempty" query:"keyword"`
	Page     int64   `thrift:"page,2" form:"page" json:"page" query:"page" vd:"$ > 0"`
	PageSize int64   `thrift:"page_size,3" form:"page_size" json:"page_size" query:"page_size" vd:"($ > 0 || $ <= 100)"`
}
var UserServiceQueryUserArgs_Req_DEFAULT *QueryUserRequest

func NewQueryUserRequest

func NewQueryUserRequest() *QueryUserRequest

func (*QueryUserRequest) GetKeyword

func (p *QueryUserRequest) GetKeyword() (v string)

func (*QueryUserRequest) GetPage

func (p *QueryUserRequest) GetPage() (v int64)

func (*QueryUserRequest) GetPageSize

func (p *QueryUserRequest) GetPageSize() (v int64)

func (*QueryUserRequest) InitDefault

func (p *QueryUserRequest) InitDefault()

func (*QueryUserRequest) IsSetKeyword

func (p *QueryUserRequest) IsSetKeyword() bool

func (*QueryUserRequest) Read

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

func (*QueryUserRequest) ReadField1

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

func (*QueryUserRequest) ReadField2

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

func (*QueryUserRequest) ReadField3

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

func (*QueryUserRequest) String

func (p *QueryUserRequest) String() string

func (*QueryUserRequest) Write

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

type QueryUserResponse

type QueryUserResponse struct {
	Code  Code    `thrift:"code,1" form:"code" json:"code"`
	Msg   string  `thrift:"msg,2" form:"msg" json:"msg"`
	Users []*User `thrift:"users,3" form:"users" json:"users"`
	Total int64   `thrift:"total,4" form:"total" json:"total"`
}
var UserServiceQueryUserResult_Success_DEFAULT *QueryUserResponse

func NewQueryUserResponse

func NewQueryUserResponse() *QueryUserResponse

func (*QueryUserResponse) GetCode

func (p *QueryUserResponse) GetCode() (v Code)

func (*QueryUserResponse) GetMsg

func (p *QueryUserResponse) GetMsg() (v string)

func (*QueryUserResponse) GetTotal

func (p *QueryUserResponse) GetTotal() (v int64)

func (*QueryUserResponse) GetUsers

func (p *QueryUserResponse) GetUsers() (v []*User)

func (*QueryUserResponse) InitDefault

func (p *QueryUserResponse) InitDefault()

func (*QueryUserResponse) Read

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

func (*QueryUserResponse) ReadField1

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

func (*QueryUserResponse) ReadField2

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

func (*QueryUserResponse) ReadField3

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

func (*QueryUserResponse) ReadField4

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

func (*QueryUserResponse) String

func (p *QueryUserResponse) String() string

func (*QueryUserResponse) Write

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

type UpdateUserRequest

type UpdateUserRequest struct {
	UserID    int64  `thrift:"user_id,1" json:"user_id" path:"user_id" vd:"$>0"`
	Name      string `thrift:"name,2" form:"name" json:"name" vd:"(len($) > 0 && len($) < 100)"`
	Gender    Gender `thrift:"gender,3" form:"gender" json:"gender" vd:"($ == 1||$ == 2)"`
	Age       int64  `thrift:"age,4" form:"age" json:"age" vd:"$>0"`
	Introduce string `thrift:"introduce,5" form:"introduce" form:"introduce" json:"introduce" vd:"(len($) > 0 && len($) < 1000)"`
}
var UserServiceUpdateUserArgs_Req_DEFAULT *UpdateUserRequest

func NewUpdateUserRequest

func NewUpdateUserRequest() *UpdateUserRequest

func (*UpdateUserRequest) GetAge

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

func (*UpdateUserRequest) GetGender

func (p *UpdateUserRequest) GetGender() (v Gender)

func (*UpdateUserRequest) GetIntroduce

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

func (*UpdateUserRequest) GetName

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

func (*UpdateUserRequest) GetUserID

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

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) ReadField5

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

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 {
	Code Code   `thrift:"code,1" form:"code" json:"code"`
	Msg  string `thrift:"msg,2" form:"msg" json:"msg"`
}
var UserServiceUpdateUserResult_Success_DEFAULT *UpdateUserResponse

func NewUpdateUserResponse

func NewUpdateUserResponse() *UpdateUserResponse

func (*UpdateUserResponse) GetCode

func (p *UpdateUserResponse) GetCode() (v Code)

func (*UpdateUserResponse) GetMsg

func (p *UpdateUserResponse) GetMsg() (v string)

func (*UpdateUserResponse) InitDefault

func (p *UpdateUserResponse) InitDefault()

func (*UpdateUserResponse) Read

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

func (*UpdateUserResponse) ReadField1

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

func (*UpdateUserResponse) ReadField2

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

func (*UpdateUserResponse) String

func (p *UpdateUserResponse) String() string

func (*UpdateUserResponse) Write

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

type User

type User struct {
	UserID    int64  `thrift:"user_id,1" form:"user_id" json:"user_id" query:"user_id"`
	Name      string `thrift:"name,2" form:"name" json:"name" query:"name"`
	Gender    Gender `thrift:"gender,3" form:"gender" json:"gender" query:"gender"`
	Age       int64  `thrift:"age,4" form:"age" json:"age" query:"age"`
	Introduce string `thrift:"introduce,5" form:"introduce" json:"introduce" query:"introduce"`
}

func NewUser

func NewUser() *User

func (*User) GetAge

func (p *User) GetAge() (v int64)

func (*User) GetGender

func (p *User) GetGender() (v Gender)

func (*User) GetIntroduce

func (p *User) GetIntroduce() (v string)

func (*User) GetName

func (p *User) GetName() (v string)

func (*User) GetUserID

func (p *User) GetUserID() (v int64)

func (*User) InitDefault

func (p *User) InitDefault()

func (*User) Read

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

func (*User) ReadField1

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

func (*User) ReadField2

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

func (*User) ReadField3

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

func (*User) ReadField4

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

func (*User) ReadField5

func (p *User) ReadField5(iprot thrift.TProtocol) error

func (*User) String

func (p *User) String() string

func (*User) Write

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

type UserService

type UserService interface {
	UpdateUser(ctx context.Context, req *UpdateUserRequest) (r *UpdateUserResponse, err error)

	DeleteUser(ctx context.Context, req *DeleteUserRequest) (r *DeleteUserResponse, err error)

	QueryUser(ctx context.Context, req *QueryUserRequest) (r *QueryUserResponse, err error)

	CreateUser(ctx context.Context, req *CreateUserRequest) (r *CreateUserResponse, err error)
}

user service description

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) CreateUser

func (p *UserServiceClient) CreateUser(ctx context.Context, req *CreateUserRequest) (r *CreateUserResponse, err error)

func (*UserServiceClient) DeleteUser

func (p *UserServiceClient) DeleteUser(ctx context.Context, req *DeleteUserRequest) (r *DeleteUserResponse, err error)

func (*UserServiceClient) QueryUser

func (p *UserServiceClient) QueryUser(ctx context.Context, req *QueryUserRequest) (r *QueryUserResponse, err error)

func (*UserServiceClient) UpdateUser

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

type UserServiceCreateUserArgs

type UserServiceCreateUserArgs struct {
	Req *CreateUserRequest `thrift:"req,1"`
}

func NewUserServiceCreateUserArgs

func NewUserServiceCreateUserArgs() *UserServiceCreateUserArgs

func (*UserServiceCreateUserArgs) GetReq

func (*UserServiceCreateUserArgs) InitDefault

func (p *UserServiceCreateUserArgs) InitDefault()

func (*UserServiceCreateUserArgs) IsSetReq

func (p *UserServiceCreateUserArgs) IsSetReq() bool

func (*UserServiceCreateUserArgs) Read

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

func (*UserServiceCreateUserArgs) ReadField1

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

func (*UserServiceCreateUserArgs) String

func (p *UserServiceCreateUserArgs) String() string

func (*UserServiceCreateUserArgs) Write

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

type UserServiceCreateUserResult

type UserServiceCreateUserResult struct {
	Success *CreateUserResponse `thrift:"success,0,optional"`
}

func NewUserServiceCreateUserResult

func NewUserServiceCreateUserResult() *UserServiceCreateUserResult

func (*UserServiceCreateUserResult) GetSuccess

func (p *UserServiceCreateUserResult) GetSuccess() (v *CreateUserResponse)

func (*UserServiceCreateUserResult) InitDefault

func (p *UserServiceCreateUserResult) InitDefault()

func (*UserServiceCreateUserResult) IsSetSuccess

func (p *UserServiceCreateUserResult) IsSetSuccess() bool

func (*UserServiceCreateUserResult) Read

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

func (*UserServiceCreateUserResult) ReadField0

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

func (*UserServiceCreateUserResult) String

func (p *UserServiceCreateUserResult) String() string

func (*UserServiceCreateUserResult) Write

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

type UserServiceDeleteUserArgs

type UserServiceDeleteUserArgs struct {
	Req *DeleteUserRequest `thrift:"req,1"`
}

func NewUserServiceDeleteUserArgs

func NewUserServiceDeleteUserArgs() *UserServiceDeleteUserArgs

func (*UserServiceDeleteUserArgs) GetReq

func (*UserServiceDeleteUserArgs) InitDefault

func (p *UserServiceDeleteUserArgs) InitDefault()

func (*UserServiceDeleteUserArgs) IsSetReq

func (p *UserServiceDeleteUserArgs) IsSetReq() bool

func (*UserServiceDeleteUserArgs) Read

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

func (*UserServiceDeleteUserArgs) ReadField1

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

func (*UserServiceDeleteUserArgs) String

func (p *UserServiceDeleteUserArgs) String() string

func (*UserServiceDeleteUserArgs) Write

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

type UserServiceDeleteUserResult

type UserServiceDeleteUserResult struct {
	Success *DeleteUserResponse `thrift:"success,0,optional"`
}

func NewUserServiceDeleteUserResult

func NewUserServiceDeleteUserResult() *UserServiceDeleteUserResult

func (*UserServiceDeleteUserResult) GetSuccess

func (p *UserServiceDeleteUserResult) GetSuccess() (v *DeleteUserResponse)

func (*UserServiceDeleteUserResult) InitDefault

func (p *UserServiceDeleteUserResult) InitDefault()

func (*UserServiceDeleteUserResult) IsSetSuccess

func (p *UserServiceDeleteUserResult) IsSetSuccess() bool

func (*UserServiceDeleteUserResult) Read

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

func (*UserServiceDeleteUserResult) ReadField0

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

func (*UserServiceDeleteUserResult) String

func (p *UserServiceDeleteUserResult) String() string

func (*UserServiceDeleteUserResult) Write

func (p *UserServiceDeleteUserResult) Write(oprot thrift.TProtocol) (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 UserServiceQueryUserArgs

type UserServiceQueryUserArgs struct {
	Req *QueryUserRequest `thrift:"req,1"`
}

func NewUserServiceQueryUserArgs

func NewUserServiceQueryUserArgs() *UserServiceQueryUserArgs

func (*UserServiceQueryUserArgs) GetReq

func (p *UserServiceQueryUserArgs) GetReq() (v *QueryUserRequest)

func (*UserServiceQueryUserArgs) InitDefault

func (p *UserServiceQueryUserArgs) InitDefault()

func (*UserServiceQueryUserArgs) IsSetReq

func (p *UserServiceQueryUserArgs) IsSetReq() bool

func (*UserServiceQueryUserArgs) Read

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

func (*UserServiceQueryUserArgs) ReadField1

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

func (*UserServiceQueryUserArgs) String

func (p *UserServiceQueryUserArgs) String() string

func (*UserServiceQueryUserArgs) Write

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

type UserServiceQueryUserResult

type UserServiceQueryUserResult struct {
	Success *QueryUserResponse `thrift:"success,0,optional"`
}

func NewUserServiceQueryUserResult

func NewUserServiceQueryUserResult() *UserServiceQueryUserResult

func (*UserServiceQueryUserResult) GetSuccess

func (p *UserServiceQueryUserResult) GetSuccess() (v *QueryUserResponse)

func (*UserServiceQueryUserResult) InitDefault

func (p *UserServiceQueryUserResult) InitDefault()

func (*UserServiceQueryUserResult) IsSetSuccess

func (p *UserServiceQueryUserResult) IsSetSuccess() bool

func (*UserServiceQueryUserResult) Read

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

func (*UserServiceQueryUserResult) ReadField0

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

func (*UserServiceQueryUserResult) String

func (p *UserServiceQueryUserResult) String() string

func (*UserServiceQueryUserResult) Write

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

type UserServiceUpdateUserArgs

type UserServiceUpdateUserArgs struct {
	Req *UpdateUserRequest `thrift:"req,1"`
}

func NewUserServiceUpdateUserArgs

func NewUserServiceUpdateUserArgs() *UserServiceUpdateUserArgs

func (*UserServiceUpdateUserArgs) GetReq

func (*UserServiceUpdateUserArgs) InitDefault

func (p *UserServiceUpdateUserArgs) InitDefault()

func (*UserServiceUpdateUserArgs) IsSetReq

func (p *UserServiceUpdateUserArgs) IsSetReq() bool

func (*UserServiceUpdateUserArgs) Read

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

func (*UserServiceUpdateUserArgs) ReadField1

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

func (*UserServiceUpdateUserArgs) String

func (p *UserServiceUpdateUserArgs) String() string

func (*UserServiceUpdateUserArgs) Write

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

type UserServiceUpdateUserResult

type UserServiceUpdateUserResult struct {
	Success *UpdateUserResponse `thrift:"success,0,optional"`
}

func NewUserServiceUpdateUserResult

func NewUserServiceUpdateUserResult() *UserServiceUpdateUserResult

func (*UserServiceUpdateUserResult) GetSuccess

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

func (*UserServiceUpdateUserResult) InitDefault

func (p *UserServiceUpdateUserResult) InitDefault()

func (*UserServiceUpdateUserResult) IsSetSuccess

func (p *UserServiceUpdateUserResult) IsSetSuccess() bool

func (*UserServiceUpdateUserResult) Read

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

func (*UserServiceUpdateUserResult) ReadField0

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

func (*UserServiceUpdateUserResult) String

func (p *UserServiceUpdateUserResult) String() string

func (*UserServiceUpdateUserResult) Write

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

Jump to

Keyboard shortcuts

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