follow

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FollowCountResponse_FollowCount_DEFAULT int64
View Source
var FollowListResponse_UserList_DEFAULT []*User
View Source
var FollowerCountResponse_FollowerCount_DEFAULT int64
View Source
var FollowerListResponse_UserList_DEFAULT []*User
View Source
var FriendListResponse_UserList_DEFAULT []*FriendUser
View Source
var FriendUser_Message_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var User_Avatar_DEFAULT string
View Source
var User_BackgroundImage_DEFAULT string
View Source
var User_FavoriteCount_DEFAULT int64
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64
View Source
var User_Signature_DEFAULT string
View Source
var User_TotalFavorited_DEFAULT int64
View Source
var User_WorkCount_DEFAULT int64

Functions

This section is empty.

Types

type ActionRequest

type ActionRequest struct {
	Token      string `thrift:"token,1,required" frugal:"1,required,string" json:"token"`
	ToUserId   int64  `thrift:"to_user_id,2,required" frugal:"2,required,i64" json:"to_user_id"`
	ActionType int64  `thrift:"action_type,3,required" frugal:"3,required,i64" json:"action_type"`
}
var FollowServiceActionArgs_Req_DEFAULT *ActionRequest

func NewActionRequest

func NewActionRequest() *ActionRequest

func (*ActionRequest) BLength

func (p *ActionRequest) BLength() int

func (*ActionRequest) DeepEqual

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

func (*ActionRequest) FastRead

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

func (*ActionRequest) FastReadField1

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

func (*ActionRequest) FastReadField2

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

func (*ActionRequest) FastReadField3

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

func (*ActionRequest) FastWrite

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

for compatibility

func (*ActionRequest) FastWriteNocopy

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

func (*ActionRequest) Field1DeepEqual

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

func (*ActionRequest) Field2DeepEqual

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

func (*ActionRequest) Field3DeepEqual

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

func (*ActionRequest) GetActionType

func (p *ActionRequest) GetActionType() (v int64)

func (*ActionRequest) GetToUserId

func (p *ActionRequest) GetToUserId() (v int64)

func (*ActionRequest) GetToken

func (p *ActionRequest) GetToken() (v string)

func (*ActionRequest) InitDefault

func (p *ActionRequest) InitDefault()

func (*ActionRequest) Read

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

func (*ActionRequest) ReadField1

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

func (*ActionRequest) ReadField2

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

func (*ActionRequest) ReadField3

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

func (*ActionRequest) SetActionType

func (p *ActionRequest) SetActionType(val int64)

func (*ActionRequest) SetToUserId

func (p *ActionRequest) SetToUserId(val int64)

func (*ActionRequest) SetToken

func (p *ActionRequest) SetToken(val string)

func (*ActionRequest) String

func (p *ActionRequest) String() string

func (*ActionRequest) Write

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

type ActionResponse

type ActionResponse struct {
	Base *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
}
var FollowServiceActionResult_Success_DEFAULT *ActionResponse

func NewActionResponse

func NewActionResponse() *ActionResponse

func (*ActionResponse) BLength

func (p *ActionResponse) BLength() int

func (*ActionResponse) DeepEqual

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

func (*ActionResponse) FastRead

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

func (*ActionResponse) FastReadField1

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

func (*ActionResponse) FastWrite

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

for compatibility

func (*ActionResponse) FastWriteNocopy

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

func (*ActionResponse) Field1DeepEqual

func (p *ActionResponse) Field1DeepEqual(src *BaseResp) bool

func (*ActionResponse) GetBase

func (p *ActionResponse) GetBase() (v *BaseResp)

func (*ActionResponse) InitDefault

func (p *ActionResponse) InitDefault()

func (*ActionResponse) IsSetBase

func (p *ActionResponse) IsSetBase() bool

func (*ActionResponse) Read

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

func (*ActionResponse) ReadField1

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

func (*ActionResponse) SetBase

func (p *ActionResponse) SetBase(val *BaseResp)

func (*ActionResponse) String

func (p *ActionResponse) String() string

func (*ActionResponse) Write

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

type BaseResp

type BaseResp struct {
	Code int64  `thrift:"code,1,required" frugal:"1,required,i64" json:"code"`
	Msg  string `thrift:"msg,2,required" frugal:"2,required,string" json:"msg"`
}
var ActionResponse_Base_DEFAULT *BaseResp
var FollowCountResponse_Base_DEFAULT *BaseResp
var FollowListResponse_Base_DEFAULT *BaseResp
var FollowerCountResponse_Base_DEFAULT *BaseResp
var FollowerListResponse_Base_DEFAULT *BaseResp
var FriendListResponse_Base_DEFAULT *BaseResp
var IsFollowResponse_Base_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

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

func (*BaseResp) FastRead

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

func (*BaseResp) FastReadField1

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

func (*BaseResp) FastReadField2

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

func (*BaseResp) FastWrite

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

for compatibility

func (*BaseResp) FastWriteNocopy

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

func (*BaseResp) Field1DeepEqual

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

func (*BaseResp) Field2DeepEqual

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

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

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

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) Read

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

func (*BaseResp) ReadField1

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

func (*BaseResp) ReadField2

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

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

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

type FollowCountRequest

type FollowCountRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var FollowServiceFollowCountArgs_Req_DEFAULT *FollowCountRequest

func NewFollowCountRequest

func NewFollowCountRequest() *FollowCountRequest

func (*FollowCountRequest) BLength

func (p *FollowCountRequest) BLength() int

func (*FollowCountRequest) DeepEqual

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

func (*FollowCountRequest) FastRead

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

func (*FollowCountRequest) FastReadField1

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

func (*FollowCountRequest) FastReadField2

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

func (*FollowCountRequest) FastWrite

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

for compatibility

func (*FollowCountRequest) FastWriteNocopy

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

func (*FollowCountRequest) Field1DeepEqual

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

func (*FollowCountRequest) Field2DeepEqual

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

func (*FollowCountRequest) GetToken

func (p *FollowCountRequest) GetToken() (v string)

func (*FollowCountRequest) GetUserId

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

func (*FollowCountRequest) InitDefault

func (p *FollowCountRequest) InitDefault()

func (*FollowCountRequest) Read

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

func (*FollowCountRequest) ReadField1

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

func (*FollowCountRequest) ReadField2

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

func (*FollowCountRequest) SetToken

func (p *FollowCountRequest) SetToken(val string)

func (*FollowCountRequest) SetUserId

func (p *FollowCountRequest) SetUserId(val int64)

func (*FollowCountRequest) String

func (p *FollowCountRequest) String() string

func (*FollowCountRequest) Write

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

type FollowCountResponse

type FollowCountResponse struct {
	Base        *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	FollowCount *int64    `thrift:"follow_count,2,optional" frugal:"2,optional,i64" json:"follow_count,omitempty"`
}
var FollowServiceFollowCountResult_Success_DEFAULT *FollowCountResponse

func NewFollowCountResponse

func NewFollowCountResponse() *FollowCountResponse

func (*FollowCountResponse) BLength

func (p *FollowCountResponse) BLength() int

func (*FollowCountResponse) DeepEqual

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

func (*FollowCountResponse) FastRead

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

func (*FollowCountResponse) FastReadField1

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

func (*FollowCountResponse) FastReadField2

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

func (*FollowCountResponse) FastWrite

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

for compatibility

func (*FollowCountResponse) FastWriteNocopy

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

func (*FollowCountResponse) Field1DeepEqual

func (p *FollowCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*FollowCountResponse) Field2DeepEqual

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

func (*FollowCountResponse) GetBase

func (p *FollowCountResponse) GetBase() (v *BaseResp)

func (*FollowCountResponse) GetFollowCount

func (p *FollowCountResponse) GetFollowCount() (v int64)

func (*FollowCountResponse) InitDefault

func (p *FollowCountResponse) InitDefault()

func (*FollowCountResponse) IsSetBase

func (p *FollowCountResponse) IsSetBase() bool

func (*FollowCountResponse) IsSetFollowCount

func (p *FollowCountResponse) IsSetFollowCount() bool

func (*FollowCountResponse) Read

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

func (*FollowCountResponse) ReadField1

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

func (*FollowCountResponse) ReadField2

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

func (*FollowCountResponse) SetBase

func (p *FollowCountResponse) SetBase(val *BaseResp)

func (*FollowCountResponse) SetFollowCount

func (p *FollowCountResponse) SetFollowCount(val *int64)

func (*FollowCountResponse) String

func (p *FollowCountResponse) String() string

func (*FollowCountResponse) Write

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

type FollowListRequest

type FollowListRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var FollowServiceFollowListArgs_Req_DEFAULT *FollowListRequest

func NewFollowListRequest

func NewFollowListRequest() *FollowListRequest

func (*FollowListRequest) BLength

func (p *FollowListRequest) BLength() int

func (*FollowListRequest) DeepEqual

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

func (*FollowListRequest) FastRead

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

func (*FollowListRequest) FastReadField1

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

func (*FollowListRequest) FastReadField2

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

func (*FollowListRequest) FastWrite

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

for compatibility

func (*FollowListRequest) FastWriteNocopy

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

func (*FollowListRequest) Field1DeepEqual

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

func (*FollowListRequest) Field2DeepEqual

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

func (*FollowListRequest) GetToken

func (p *FollowListRequest) GetToken() (v string)

func (*FollowListRequest) GetUserId

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

func (*FollowListRequest) InitDefault

func (p *FollowListRequest) InitDefault()

func (*FollowListRequest) Read

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

func (*FollowListRequest) ReadField1

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

func (*FollowListRequest) ReadField2

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

func (*FollowListRequest) SetToken

func (p *FollowListRequest) SetToken(val string)

func (*FollowListRequest) SetUserId

func (p *FollowListRequest) SetUserId(val int64)

func (*FollowListRequest) String

func (p *FollowListRequest) String() string

func (*FollowListRequest) Write

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

type FollowListResponse

type FollowListResponse struct {
	Base     *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	UserList []*User   `thrift:"user_list,2,optional" frugal:"2,optional,list<User>" json:"user_list,omitempty"`
}
var FollowServiceFollowListResult_Success_DEFAULT *FollowListResponse

func NewFollowListResponse

func NewFollowListResponse() *FollowListResponse

func (*FollowListResponse) BLength

func (p *FollowListResponse) BLength() int

func (*FollowListResponse) DeepEqual

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

func (*FollowListResponse) FastRead

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

func (*FollowListResponse) FastReadField1

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

func (*FollowListResponse) FastReadField2

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

func (*FollowListResponse) FastWrite

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

for compatibility

func (*FollowListResponse) FastWriteNocopy

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

func (*FollowListResponse) Field1DeepEqual

func (p *FollowListResponse) Field1DeepEqual(src *BaseResp) bool

func (*FollowListResponse) Field2DeepEqual

func (p *FollowListResponse) Field2DeepEqual(src []*User) bool

func (*FollowListResponse) GetBase

func (p *FollowListResponse) GetBase() (v *BaseResp)

func (*FollowListResponse) GetUserList

func (p *FollowListResponse) GetUserList() (v []*User)

func (*FollowListResponse) InitDefault

func (p *FollowListResponse) InitDefault()

func (*FollowListResponse) IsSetBase

func (p *FollowListResponse) IsSetBase() bool

func (*FollowListResponse) IsSetUserList

func (p *FollowListResponse) IsSetUserList() bool

func (*FollowListResponse) Read

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

func (*FollowListResponse) ReadField1

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

func (*FollowListResponse) ReadField2

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

func (*FollowListResponse) SetBase

func (p *FollowListResponse) SetBase(val *BaseResp)

func (*FollowListResponse) SetUserList

func (p *FollowListResponse) SetUserList(val []*User)

func (*FollowListResponse) String

func (p *FollowListResponse) String() string

func (*FollowListResponse) Write

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

type FollowService

type FollowService interface {
	Action(ctx context.Context, req *ActionRequest) (r *ActionResponse, err error)

	FollowList(ctx context.Context, req *FollowListRequest) (r *FollowListResponse, err error)

	FollowerList(ctx context.Context, req *FollowerListRequest) (r *FollowerListResponse, err error)

	FriendList(ctx context.Context, req *FriendListRequest) (r *FriendListResponse, err error)

	FollowCount(ctx context.Context, req *FollowCountRequest) (r *FollowCountResponse, err error)

	FollowerCount(ctx context.Context, req *FollowerCountRequest) (r *FollowerCountResponse, err error)

	IsFollow(ctx context.Context, req *IsFollowRequest) (r *IsFollowResponse, err error)
}

type FollowServiceActionArgs

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

func NewFollowServiceActionArgs

func NewFollowServiceActionArgs() *FollowServiceActionArgs

func (*FollowServiceActionArgs) BLength

func (p *FollowServiceActionArgs) BLength() int

func (*FollowServiceActionArgs) DeepEqual

func (*FollowServiceActionArgs) FastRead

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

func (*FollowServiceActionArgs) FastReadField1

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

func (*FollowServiceActionArgs) FastWrite

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

for compatibility

func (*FollowServiceActionArgs) FastWriteNocopy

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

func (*FollowServiceActionArgs) Field1DeepEqual

func (p *FollowServiceActionArgs) Field1DeepEqual(src *ActionRequest) bool

func (*FollowServiceActionArgs) GetFirstArgument

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

func (*FollowServiceActionArgs) GetReq

func (p *FollowServiceActionArgs) GetReq() (v *ActionRequest)

func (*FollowServiceActionArgs) InitDefault

func (p *FollowServiceActionArgs) InitDefault()

func (*FollowServiceActionArgs) IsSetReq

func (p *FollowServiceActionArgs) IsSetReq() bool

func (*FollowServiceActionArgs) Read

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

func (*FollowServiceActionArgs) ReadField1

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

func (*FollowServiceActionArgs) SetReq

func (p *FollowServiceActionArgs) SetReq(val *ActionRequest)

func (*FollowServiceActionArgs) String

func (p *FollowServiceActionArgs) String() string

func (*FollowServiceActionArgs) Write

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

type FollowServiceActionResult

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

func NewFollowServiceActionResult

func NewFollowServiceActionResult() *FollowServiceActionResult

func (*FollowServiceActionResult) BLength

func (p *FollowServiceActionResult) BLength() int

func (*FollowServiceActionResult) DeepEqual

func (*FollowServiceActionResult) FastRead

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

func (*FollowServiceActionResult) FastReadField0

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

func (*FollowServiceActionResult) FastWrite

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

for compatibility

func (*FollowServiceActionResult) FastWriteNocopy

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

func (*FollowServiceActionResult) Field0DeepEqual

func (p *FollowServiceActionResult) Field0DeepEqual(src *ActionResponse) bool

func (*FollowServiceActionResult) GetResult

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

func (*FollowServiceActionResult) GetSuccess

func (p *FollowServiceActionResult) GetSuccess() (v *ActionResponse)

func (*FollowServiceActionResult) InitDefault

func (p *FollowServiceActionResult) InitDefault()

func (*FollowServiceActionResult) IsSetSuccess

func (p *FollowServiceActionResult) IsSetSuccess() bool

func (*FollowServiceActionResult) Read

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

func (*FollowServiceActionResult) ReadField0

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

func (*FollowServiceActionResult) SetSuccess

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

func (*FollowServiceActionResult) String

func (p *FollowServiceActionResult) String() string

func (*FollowServiceActionResult) Write

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

type FollowServiceClient

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

func NewFollowServiceClient

func NewFollowServiceClient(c thrift.TClient) *FollowServiceClient

func NewFollowServiceClientProtocol

func NewFollowServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FollowServiceClient

func (*FollowServiceClient) Action

func (p *FollowServiceClient) Action(ctx context.Context, req *ActionRequest) (r *ActionResponse, err error)

func (*FollowServiceClient) Client_

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

func (*FollowServiceClient) FollowCount

func (p *FollowServiceClient) FollowCount(ctx context.Context, req *FollowCountRequest) (r *FollowCountResponse, err error)

func (*FollowServiceClient) FollowList

func (p *FollowServiceClient) FollowList(ctx context.Context, req *FollowListRequest) (r *FollowListResponse, err error)

func (*FollowServiceClient) FollowerCount

func (*FollowServiceClient) FollowerList

func (*FollowServiceClient) FriendList

func (p *FollowServiceClient) FriendList(ctx context.Context, req *FriendListRequest) (r *FriendListResponse, err error)

func (*FollowServiceClient) IsFollow

func (p *FollowServiceClient) IsFollow(ctx context.Context, req *IsFollowRequest) (r *IsFollowResponse, err error)

type FollowServiceFollowCountArgs

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

func NewFollowServiceFollowCountArgs

func NewFollowServiceFollowCountArgs() *FollowServiceFollowCountArgs

func (*FollowServiceFollowCountArgs) BLength

func (p *FollowServiceFollowCountArgs) BLength() int

func (*FollowServiceFollowCountArgs) DeepEqual

func (*FollowServiceFollowCountArgs) FastRead

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

func (*FollowServiceFollowCountArgs) FastReadField1

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

func (*FollowServiceFollowCountArgs) FastWrite

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

for compatibility

func (*FollowServiceFollowCountArgs) FastWriteNocopy

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

func (*FollowServiceFollowCountArgs) Field1DeepEqual

func (p *FollowServiceFollowCountArgs) Field1DeepEqual(src *FollowCountRequest) bool

func (*FollowServiceFollowCountArgs) GetFirstArgument

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

func (*FollowServiceFollowCountArgs) GetReq

func (*FollowServiceFollowCountArgs) InitDefault

func (p *FollowServiceFollowCountArgs) InitDefault()

func (*FollowServiceFollowCountArgs) IsSetReq

func (p *FollowServiceFollowCountArgs) IsSetReq() bool

func (*FollowServiceFollowCountArgs) Read

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

func (*FollowServiceFollowCountArgs) ReadField1

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

func (*FollowServiceFollowCountArgs) SetReq

func (*FollowServiceFollowCountArgs) String

func (*FollowServiceFollowCountArgs) Write

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

type FollowServiceFollowCountResult

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

func NewFollowServiceFollowCountResult

func NewFollowServiceFollowCountResult() *FollowServiceFollowCountResult

func (*FollowServiceFollowCountResult) BLength

func (p *FollowServiceFollowCountResult) BLength() int

func (*FollowServiceFollowCountResult) DeepEqual

func (*FollowServiceFollowCountResult) FastRead

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

func (*FollowServiceFollowCountResult) FastReadField0

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

func (*FollowServiceFollowCountResult) FastWrite

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

for compatibility

func (*FollowServiceFollowCountResult) FastWriteNocopy

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

func (*FollowServiceFollowCountResult) Field0DeepEqual

func (p *FollowServiceFollowCountResult) Field0DeepEqual(src *FollowCountResponse) bool

func (*FollowServiceFollowCountResult) GetResult

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

func (*FollowServiceFollowCountResult) GetSuccess

func (*FollowServiceFollowCountResult) InitDefault

func (p *FollowServiceFollowCountResult) InitDefault()

func (*FollowServiceFollowCountResult) IsSetSuccess

func (p *FollowServiceFollowCountResult) IsSetSuccess() bool

func (*FollowServiceFollowCountResult) Read

func (*FollowServiceFollowCountResult) ReadField0

func (*FollowServiceFollowCountResult) SetSuccess

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

func (*FollowServiceFollowCountResult) String

func (*FollowServiceFollowCountResult) Write

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

type FollowServiceFollowListArgs

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

func NewFollowServiceFollowListArgs

func NewFollowServiceFollowListArgs() *FollowServiceFollowListArgs

func (*FollowServiceFollowListArgs) BLength

func (p *FollowServiceFollowListArgs) BLength() int

func (*FollowServiceFollowListArgs) DeepEqual

func (*FollowServiceFollowListArgs) FastRead

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

func (*FollowServiceFollowListArgs) FastReadField1

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

func (*FollowServiceFollowListArgs) FastWrite

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

for compatibility

func (*FollowServiceFollowListArgs) FastWriteNocopy

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

func (*FollowServiceFollowListArgs) Field1DeepEqual

func (p *FollowServiceFollowListArgs) Field1DeepEqual(src *FollowListRequest) bool

func (*FollowServiceFollowListArgs) GetFirstArgument

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

func (*FollowServiceFollowListArgs) GetReq

func (*FollowServiceFollowListArgs) InitDefault

func (p *FollowServiceFollowListArgs) InitDefault()

func (*FollowServiceFollowListArgs) IsSetReq

func (p *FollowServiceFollowListArgs) IsSetReq() bool

func (*FollowServiceFollowListArgs) Read

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

func (*FollowServiceFollowListArgs) ReadField1

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

func (*FollowServiceFollowListArgs) SetReq

func (*FollowServiceFollowListArgs) String

func (p *FollowServiceFollowListArgs) String() string

func (*FollowServiceFollowListArgs) Write

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

type FollowServiceFollowListResult

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

func NewFollowServiceFollowListResult

func NewFollowServiceFollowListResult() *FollowServiceFollowListResult

func (*FollowServiceFollowListResult) BLength

func (p *FollowServiceFollowListResult) BLength() int

func (*FollowServiceFollowListResult) DeepEqual

func (*FollowServiceFollowListResult) FastRead

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

func (*FollowServiceFollowListResult) FastReadField0

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

func (*FollowServiceFollowListResult) FastWrite

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

for compatibility

func (*FollowServiceFollowListResult) FastWriteNocopy

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

func (*FollowServiceFollowListResult) Field0DeepEqual

func (p *FollowServiceFollowListResult) Field0DeepEqual(src *FollowListResponse) bool

func (*FollowServiceFollowListResult) GetResult

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

func (*FollowServiceFollowListResult) GetSuccess

func (*FollowServiceFollowListResult) InitDefault

func (p *FollowServiceFollowListResult) InitDefault()

func (*FollowServiceFollowListResult) IsSetSuccess

func (p *FollowServiceFollowListResult) IsSetSuccess() bool

func (*FollowServiceFollowListResult) Read

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

func (*FollowServiceFollowListResult) ReadField0

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

func (*FollowServiceFollowListResult) SetSuccess

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

func (*FollowServiceFollowListResult) String

func (*FollowServiceFollowListResult) Write

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

type FollowServiceFollowerCountArgs

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

func NewFollowServiceFollowerCountArgs

func NewFollowServiceFollowerCountArgs() *FollowServiceFollowerCountArgs

func (*FollowServiceFollowerCountArgs) BLength

func (p *FollowServiceFollowerCountArgs) BLength() int

func (*FollowServiceFollowerCountArgs) DeepEqual

func (*FollowServiceFollowerCountArgs) FastRead

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

func (*FollowServiceFollowerCountArgs) FastReadField1

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

func (*FollowServiceFollowerCountArgs) FastWrite

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

for compatibility

func (*FollowServiceFollowerCountArgs) FastWriteNocopy

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

func (*FollowServiceFollowerCountArgs) Field1DeepEqual

func (p *FollowServiceFollowerCountArgs) Field1DeepEqual(src *FollowerCountRequest) bool

func (*FollowServiceFollowerCountArgs) GetFirstArgument

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

func (*FollowServiceFollowerCountArgs) GetReq

func (*FollowServiceFollowerCountArgs) InitDefault

func (p *FollowServiceFollowerCountArgs) InitDefault()

func (*FollowServiceFollowerCountArgs) IsSetReq

func (p *FollowServiceFollowerCountArgs) IsSetReq() bool

func (*FollowServiceFollowerCountArgs) Read

func (*FollowServiceFollowerCountArgs) ReadField1

func (*FollowServiceFollowerCountArgs) SetReq

func (*FollowServiceFollowerCountArgs) String

func (*FollowServiceFollowerCountArgs) Write

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

type FollowServiceFollowerCountResult

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

func NewFollowServiceFollowerCountResult

func NewFollowServiceFollowerCountResult() *FollowServiceFollowerCountResult

func (*FollowServiceFollowerCountResult) BLength

func (*FollowServiceFollowerCountResult) DeepEqual

func (*FollowServiceFollowerCountResult) FastRead

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

func (*FollowServiceFollowerCountResult) FastReadField0

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

func (*FollowServiceFollowerCountResult) FastWrite

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

for compatibility

func (*FollowServiceFollowerCountResult) FastWriteNocopy

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

func (*FollowServiceFollowerCountResult) Field0DeepEqual

func (*FollowServiceFollowerCountResult) GetResult

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

func (*FollowServiceFollowerCountResult) GetSuccess

func (*FollowServiceFollowerCountResult) InitDefault

func (p *FollowServiceFollowerCountResult) InitDefault()

func (*FollowServiceFollowerCountResult) IsSetSuccess

func (p *FollowServiceFollowerCountResult) IsSetSuccess() bool

func (*FollowServiceFollowerCountResult) Read

func (*FollowServiceFollowerCountResult) ReadField0

func (*FollowServiceFollowerCountResult) SetSuccess

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

func (*FollowServiceFollowerCountResult) String

func (*FollowServiceFollowerCountResult) Write

type FollowServiceFollowerListArgs

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

func NewFollowServiceFollowerListArgs

func NewFollowServiceFollowerListArgs() *FollowServiceFollowerListArgs

func (*FollowServiceFollowerListArgs) BLength

func (p *FollowServiceFollowerListArgs) BLength() int

func (*FollowServiceFollowerListArgs) DeepEqual

func (*FollowServiceFollowerListArgs) FastRead

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

func (*FollowServiceFollowerListArgs) FastReadField1

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

func (*FollowServiceFollowerListArgs) FastWrite

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

for compatibility

func (*FollowServiceFollowerListArgs) FastWriteNocopy

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

func (*FollowServiceFollowerListArgs) Field1DeepEqual

func (p *FollowServiceFollowerListArgs) Field1DeepEqual(src *FollowerListRequest) bool

func (*FollowServiceFollowerListArgs) GetFirstArgument

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

func (*FollowServiceFollowerListArgs) GetReq

func (*FollowServiceFollowerListArgs) InitDefault

func (p *FollowServiceFollowerListArgs) InitDefault()

func (*FollowServiceFollowerListArgs) IsSetReq

func (p *FollowServiceFollowerListArgs) IsSetReq() bool

func (*FollowServiceFollowerListArgs) Read

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

func (*FollowServiceFollowerListArgs) ReadField1

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

func (*FollowServiceFollowerListArgs) SetReq

func (*FollowServiceFollowerListArgs) String

func (*FollowServiceFollowerListArgs) Write

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

type FollowServiceFollowerListResult

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

func NewFollowServiceFollowerListResult

func NewFollowServiceFollowerListResult() *FollowServiceFollowerListResult

func (*FollowServiceFollowerListResult) BLength

func (p *FollowServiceFollowerListResult) BLength() int

func (*FollowServiceFollowerListResult) DeepEqual

func (*FollowServiceFollowerListResult) FastRead

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

func (*FollowServiceFollowerListResult) FastReadField0

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

func (*FollowServiceFollowerListResult) FastWrite

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

for compatibility

func (*FollowServiceFollowerListResult) FastWriteNocopy

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

func (*FollowServiceFollowerListResult) Field0DeepEqual

func (*FollowServiceFollowerListResult) GetResult

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

func (*FollowServiceFollowerListResult) GetSuccess

func (*FollowServiceFollowerListResult) InitDefault

func (p *FollowServiceFollowerListResult) InitDefault()

func (*FollowServiceFollowerListResult) IsSetSuccess

func (p *FollowServiceFollowerListResult) IsSetSuccess() bool

func (*FollowServiceFollowerListResult) Read

func (*FollowServiceFollowerListResult) ReadField0

func (*FollowServiceFollowerListResult) SetSuccess

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

func (*FollowServiceFollowerListResult) String

func (*FollowServiceFollowerListResult) Write

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

type FollowServiceFriendListArgs

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

func NewFollowServiceFriendListArgs

func NewFollowServiceFriendListArgs() *FollowServiceFriendListArgs

func (*FollowServiceFriendListArgs) BLength

func (p *FollowServiceFriendListArgs) BLength() int

func (*FollowServiceFriendListArgs) DeepEqual

func (*FollowServiceFriendListArgs) FastRead

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

func (*FollowServiceFriendListArgs) FastReadField1

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

func (*FollowServiceFriendListArgs) FastWrite

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

for compatibility

func (*FollowServiceFriendListArgs) FastWriteNocopy

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

func (*FollowServiceFriendListArgs) Field1DeepEqual

func (p *FollowServiceFriendListArgs) Field1DeepEqual(src *FriendListRequest) bool

func (*FollowServiceFriendListArgs) GetFirstArgument

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

func (*FollowServiceFriendListArgs) GetReq

func (*FollowServiceFriendListArgs) InitDefault

func (p *FollowServiceFriendListArgs) InitDefault()

func (*FollowServiceFriendListArgs) IsSetReq

func (p *FollowServiceFriendListArgs) IsSetReq() bool

func (*FollowServiceFriendListArgs) Read

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

func (*FollowServiceFriendListArgs) ReadField1

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

func (*FollowServiceFriendListArgs) SetReq

func (*FollowServiceFriendListArgs) String

func (p *FollowServiceFriendListArgs) String() string

func (*FollowServiceFriendListArgs) Write

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

type FollowServiceFriendListResult

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

func NewFollowServiceFriendListResult

func NewFollowServiceFriendListResult() *FollowServiceFriendListResult

func (*FollowServiceFriendListResult) BLength

func (p *FollowServiceFriendListResult) BLength() int

func (*FollowServiceFriendListResult) DeepEqual

func (*FollowServiceFriendListResult) FastRead

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

func (*FollowServiceFriendListResult) FastReadField0

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

func (*FollowServiceFriendListResult) FastWrite

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

for compatibility

func (*FollowServiceFriendListResult) FastWriteNocopy

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

func (*FollowServiceFriendListResult) Field0DeepEqual

func (p *FollowServiceFriendListResult) Field0DeepEqual(src *FriendListResponse) bool

func (*FollowServiceFriendListResult) GetResult

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

func (*FollowServiceFriendListResult) GetSuccess

func (*FollowServiceFriendListResult) InitDefault

func (p *FollowServiceFriendListResult) InitDefault()

func (*FollowServiceFriendListResult) IsSetSuccess

func (p *FollowServiceFriendListResult) IsSetSuccess() bool

func (*FollowServiceFriendListResult) Read

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

func (*FollowServiceFriendListResult) ReadField0

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

func (*FollowServiceFriendListResult) SetSuccess

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

func (*FollowServiceFriendListResult) String

func (*FollowServiceFriendListResult) Write

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

type FollowServiceIsFollowArgs

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

func NewFollowServiceIsFollowArgs

func NewFollowServiceIsFollowArgs() *FollowServiceIsFollowArgs

func (*FollowServiceIsFollowArgs) BLength

func (p *FollowServiceIsFollowArgs) BLength() int

func (*FollowServiceIsFollowArgs) DeepEqual

func (*FollowServiceIsFollowArgs) FastRead

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

func (*FollowServiceIsFollowArgs) FastReadField1

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

func (*FollowServiceIsFollowArgs) FastWrite

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

for compatibility

func (*FollowServiceIsFollowArgs) FastWriteNocopy

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

func (*FollowServiceIsFollowArgs) Field1DeepEqual

func (p *FollowServiceIsFollowArgs) Field1DeepEqual(src *IsFollowRequest) bool

func (*FollowServiceIsFollowArgs) GetFirstArgument

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

func (*FollowServiceIsFollowArgs) GetReq

func (p *FollowServiceIsFollowArgs) GetReq() (v *IsFollowRequest)

func (*FollowServiceIsFollowArgs) InitDefault

func (p *FollowServiceIsFollowArgs) InitDefault()

func (*FollowServiceIsFollowArgs) IsSetReq

func (p *FollowServiceIsFollowArgs) IsSetReq() bool

func (*FollowServiceIsFollowArgs) Read

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

func (*FollowServiceIsFollowArgs) ReadField1

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

func (*FollowServiceIsFollowArgs) SetReq

func (*FollowServiceIsFollowArgs) String

func (p *FollowServiceIsFollowArgs) String() string

func (*FollowServiceIsFollowArgs) Write

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

type FollowServiceIsFollowResult

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

func NewFollowServiceIsFollowResult

func NewFollowServiceIsFollowResult() *FollowServiceIsFollowResult

func (*FollowServiceIsFollowResult) BLength

func (p *FollowServiceIsFollowResult) BLength() int

func (*FollowServiceIsFollowResult) DeepEqual

func (*FollowServiceIsFollowResult) FastRead

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

func (*FollowServiceIsFollowResult) FastReadField0

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

func (*FollowServiceIsFollowResult) FastWrite

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

for compatibility

func (*FollowServiceIsFollowResult) FastWriteNocopy

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

func (*FollowServiceIsFollowResult) Field0DeepEqual

func (p *FollowServiceIsFollowResult) Field0DeepEqual(src *IsFollowResponse) bool

func (*FollowServiceIsFollowResult) GetResult

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

func (*FollowServiceIsFollowResult) GetSuccess

func (p *FollowServiceIsFollowResult) GetSuccess() (v *IsFollowResponse)

func (*FollowServiceIsFollowResult) InitDefault

func (p *FollowServiceIsFollowResult) InitDefault()

func (*FollowServiceIsFollowResult) IsSetSuccess

func (p *FollowServiceIsFollowResult) IsSetSuccess() bool

func (*FollowServiceIsFollowResult) Read

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

func (*FollowServiceIsFollowResult) ReadField0

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

func (*FollowServiceIsFollowResult) SetSuccess

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

func (*FollowServiceIsFollowResult) String

func (p *FollowServiceIsFollowResult) String() string

func (*FollowServiceIsFollowResult) Write

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

type FollowServiceProcessor

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

func NewFollowServiceProcessor

func NewFollowServiceProcessor(handler FollowService) *FollowServiceProcessor

func (*FollowServiceProcessor) AddToProcessorMap

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

func (*FollowServiceProcessor) GetProcessorFunction

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

func (*FollowServiceProcessor) Process

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

func (*FollowServiceProcessor) ProcessorMap

type FollowerCountRequest

type FollowerCountRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var FollowServiceFollowerCountArgs_Req_DEFAULT *FollowerCountRequest

func NewFollowerCountRequest

func NewFollowerCountRequest() *FollowerCountRequest

func (*FollowerCountRequest) BLength

func (p *FollowerCountRequest) BLength() int

func (*FollowerCountRequest) DeepEqual

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

func (*FollowerCountRequest) FastRead

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

func (*FollowerCountRequest) FastReadField1

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

func (*FollowerCountRequest) FastReadField2

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

func (*FollowerCountRequest) FastWrite

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

for compatibility

func (*FollowerCountRequest) FastWriteNocopy

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

func (*FollowerCountRequest) Field1DeepEqual

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

func (*FollowerCountRequest) Field2DeepEqual

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

func (*FollowerCountRequest) GetToken

func (p *FollowerCountRequest) GetToken() (v string)

func (*FollowerCountRequest) GetUserId

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

func (*FollowerCountRequest) InitDefault

func (p *FollowerCountRequest) InitDefault()

func (*FollowerCountRequest) Read

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

func (*FollowerCountRequest) ReadField1

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

func (*FollowerCountRequest) ReadField2

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

func (*FollowerCountRequest) SetToken

func (p *FollowerCountRequest) SetToken(val string)

func (*FollowerCountRequest) SetUserId

func (p *FollowerCountRequest) SetUserId(val int64)

func (*FollowerCountRequest) String

func (p *FollowerCountRequest) String() string

func (*FollowerCountRequest) Write

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

type FollowerCountResponse

type FollowerCountResponse struct {
	Base          *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	FollowerCount *int64    `thrift:"follower_count,2,optional" frugal:"2,optional,i64" json:"follower_count,omitempty"`
}
var FollowServiceFollowerCountResult_Success_DEFAULT *FollowerCountResponse

func NewFollowerCountResponse

func NewFollowerCountResponse() *FollowerCountResponse

func (*FollowerCountResponse) BLength

func (p *FollowerCountResponse) BLength() int

func (*FollowerCountResponse) DeepEqual

func (*FollowerCountResponse) FastRead

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

func (*FollowerCountResponse) FastReadField1

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

func (*FollowerCountResponse) FastReadField2

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

func (*FollowerCountResponse) FastWrite

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

for compatibility

func (*FollowerCountResponse) FastWriteNocopy

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

func (*FollowerCountResponse) Field1DeepEqual

func (p *FollowerCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*FollowerCountResponse) Field2DeepEqual

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

func (*FollowerCountResponse) GetBase

func (p *FollowerCountResponse) GetBase() (v *BaseResp)

func (*FollowerCountResponse) GetFollowerCount

func (p *FollowerCountResponse) GetFollowerCount() (v int64)

func (*FollowerCountResponse) InitDefault

func (p *FollowerCountResponse) InitDefault()

func (*FollowerCountResponse) IsSetBase

func (p *FollowerCountResponse) IsSetBase() bool

func (*FollowerCountResponse) IsSetFollowerCount

func (p *FollowerCountResponse) IsSetFollowerCount() bool

func (*FollowerCountResponse) Read

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

func (*FollowerCountResponse) ReadField1

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

func (*FollowerCountResponse) ReadField2

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

func (*FollowerCountResponse) SetBase

func (p *FollowerCountResponse) SetBase(val *BaseResp)

func (*FollowerCountResponse) SetFollowerCount

func (p *FollowerCountResponse) SetFollowerCount(val *int64)

func (*FollowerCountResponse) String

func (p *FollowerCountResponse) String() string

func (*FollowerCountResponse) Write

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

type FollowerListRequest

type FollowerListRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var FollowServiceFollowerListArgs_Req_DEFAULT *FollowerListRequest

func NewFollowerListRequest

func NewFollowerListRequest() *FollowerListRequest

func (*FollowerListRequest) BLength

func (p *FollowerListRequest) BLength() int

func (*FollowerListRequest) DeepEqual

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

func (*FollowerListRequest) FastRead

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

func (*FollowerListRequest) FastReadField1

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

func (*FollowerListRequest) FastReadField2

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

func (*FollowerListRequest) FastWrite

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

for compatibility

func (*FollowerListRequest) FastWriteNocopy

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

func (*FollowerListRequest) Field1DeepEqual

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

func (*FollowerListRequest) Field2DeepEqual

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

func (*FollowerListRequest) GetToken

func (p *FollowerListRequest) GetToken() (v string)

func (*FollowerListRequest) GetUserId

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

func (*FollowerListRequest) InitDefault

func (p *FollowerListRequest) InitDefault()

func (*FollowerListRequest) Read

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

func (*FollowerListRequest) ReadField1

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

func (*FollowerListRequest) ReadField2

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

func (*FollowerListRequest) SetToken

func (p *FollowerListRequest) SetToken(val string)

func (*FollowerListRequest) SetUserId

func (p *FollowerListRequest) SetUserId(val int64)

func (*FollowerListRequest) String

func (p *FollowerListRequest) String() string

func (*FollowerListRequest) Write

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

type FollowerListResponse

type FollowerListResponse struct {
	Base     *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	UserList []*User   `thrift:"user_list,2,optional" frugal:"2,optional,list<User>" json:"user_list,omitempty"`
}
var FollowServiceFollowerListResult_Success_DEFAULT *FollowerListResponse

func NewFollowerListResponse

func NewFollowerListResponse() *FollowerListResponse

func (*FollowerListResponse) BLength

func (p *FollowerListResponse) BLength() int

func (*FollowerListResponse) DeepEqual

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

func (*FollowerListResponse) FastRead

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

func (*FollowerListResponse) FastReadField1

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

func (*FollowerListResponse) FastReadField2

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

func (*FollowerListResponse) FastWrite

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

for compatibility

func (*FollowerListResponse) FastWriteNocopy

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

func (*FollowerListResponse) Field1DeepEqual

func (p *FollowerListResponse) Field1DeepEqual(src *BaseResp) bool

func (*FollowerListResponse) Field2DeepEqual

func (p *FollowerListResponse) Field2DeepEqual(src []*User) bool

func (*FollowerListResponse) GetBase

func (p *FollowerListResponse) GetBase() (v *BaseResp)

func (*FollowerListResponse) GetUserList

func (p *FollowerListResponse) GetUserList() (v []*User)

func (*FollowerListResponse) InitDefault

func (p *FollowerListResponse) InitDefault()

func (*FollowerListResponse) IsSetBase

func (p *FollowerListResponse) IsSetBase() bool

func (*FollowerListResponse) IsSetUserList

func (p *FollowerListResponse) IsSetUserList() bool

func (*FollowerListResponse) Read

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

func (*FollowerListResponse) ReadField1

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

func (*FollowerListResponse) ReadField2

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

func (*FollowerListResponse) SetBase

func (p *FollowerListResponse) SetBase(val *BaseResp)

func (*FollowerListResponse) SetUserList

func (p *FollowerListResponse) SetUserList(val []*User)

func (*FollowerListResponse) String

func (p *FollowerListResponse) String() string

func (*FollowerListResponse) Write

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

type FriendListRequest

type FriendListRequest struct {
	UserId int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	Token  string `thrift:"token,2,required" frugal:"2,required,string" json:"token"`
}
var FollowServiceFriendListArgs_Req_DEFAULT *FriendListRequest

func NewFriendListRequest

func NewFriendListRequest() *FriendListRequest

func (*FriendListRequest) BLength

func (p *FriendListRequest) BLength() int

func (*FriendListRequest) DeepEqual

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

func (*FriendListRequest) FastRead

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

func (*FriendListRequest) FastReadField1

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

func (*FriendListRequest) FastReadField2

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

func (*FriendListRequest) FastWrite

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

for compatibility

func (*FriendListRequest) FastWriteNocopy

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

func (*FriendListRequest) Field1DeepEqual

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

func (*FriendListRequest) Field2DeepEqual

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

func (*FriendListRequest) GetToken

func (p *FriendListRequest) GetToken() (v string)

func (*FriendListRequest) GetUserId

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

func (*FriendListRequest) InitDefault

func (p *FriendListRequest) InitDefault()

func (*FriendListRequest) Read

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

func (*FriendListRequest) ReadField1

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

func (*FriendListRequest) ReadField2

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

func (*FriendListRequest) SetToken

func (p *FriendListRequest) SetToken(val string)

func (*FriendListRequest) SetUserId

func (p *FriendListRequest) SetUserId(val int64)

func (*FriendListRequest) String

func (p *FriendListRequest) String() string

func (*FriendListRequest) Write

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

type FriendListResponse

type FriendListResponse struct {
	Base     *BaseResp     `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	UserList []*FriendUser `thrift:"user_list,2,optional" frugal:"2,optional,list<FriendUser>" json:"user_list,omitempty"`
}
var FollowServiceFriendListResult_Success_DEFAULT *FriendListResponse

func NewFriendListResponse

func NewFriendListResponse() *FriendListResponse

func (*FriendListResponse) BLength

func (p *FriendListResponse) BLength() int

func (*FriendListResponse) DeepEqual

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

func (*FriendListResponse) FastRead

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

func (*FriendListResponse) FastReadField1

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

func (*FriendListResponse) FastReadField2

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

func (*FriendListResponse) FastWrite

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

for compatibility

func (*FriendListResponse) FastWriteNocopy

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

func (*FriendListResponse) Field1DeepEqual

func (p *FriendListResponse) Field1DeepEqual(src *BaseResp) bool

func (*FriendListResponse) Field2DeepEqual

func (p *FriendListResponse) Field2DeepEqual(src []*FriendUser) bool

func (*FriendListResponse) GetBase

func (p *FriendListResponse) GetBase() (v *BaseResp)

func (*FriendListResponse) GetUserList

func (p *FriendListResponse) GetUserList() (v []*FriendUser)

func (*FriendListResponse) InitDefault

func (p *FriendListResponse) InitDefault()

func (*FriendListResponse) IsSetBase

func (p *FriendListResponse) IsSetBase() bool

func (*FriendListResponse) IsSetUserList

func (p *FriendListResponse) IsSetUserList() bool

func (*FriendListResponse) Read

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

func (*FriendListResponse) ReadField1

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

func (*FriendListResponse) ReadField2

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

func (*FriendListResponse) SetBase

func (p *FriendListResponse) SetBase(val *BaseResp)

func (*FriendListResponse) SetUserList

func (p *FriendListResponse) SetUserList(val []*FriendUser)

func (*FriendListResponse) String

func (p *FriendListResponse) String() string

func (*FriendListResponse) Write

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

type FriendUser

type FriendUser struct {
	User    *User   `thrift:"user,1,required" frugal:"1,required,User" json:"user"`
	Message *string `thrift:"message,2,optional" frugal:"2,optional,string" json:"message,omitempty"`
	MsgType int64   `thrift:"msgType,3,required" frugal:"3,required,i64" json:"msgType"`
}

func NewFriendUser

func NewFriendUser() *FriendUser

func (*FriendUser) BLength

func (p *FriendUser) BLength() int

func (*FriendUser) DeepEqual

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

func (*FriendUser) FastRead

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

func (*FriendUser) FastReadField1

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

func (*FriendUser) FastReadField2

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

func (*FriendUser) FastReadField3

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

func (*FriendUser) FastWrite

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

for compatibility

func (*FriendUser) FastWriteNocopy

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

func (*FriendUser) Field1DeepEqual

func (p *FriendUser) Field1DeepEqual(src *User) bool

func (*FriendUser) Field2DeepEqual

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

func (*FriendUser) Field3DeepEqual

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

func (*FriendUser) GetMessage

func (p *FriendUser) GetMessage() (v string)

func (*FriendUser) GetMsgType

func (p *FriendUser) GetMsgType() (v int64)

func (*FriendUser) GetUser

func (p *FriendUser) GetUser() (v *User)

func (*FriendUser) InitDefault

func (p *FriendUser) InitDefault()

func (*FriendUser) IsSetMessage

func (p *FriendUser) IsSetMessage() bool

func (*FriendUser) IsSetUser

func (p *FriendUser) IsSetUser() bool

func (*FriendUser) Read

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

func (*FriendUser) ReadField1

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

func (*FriendUser) ReadField2

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

func (*FriendUser) ReadField3

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

func (*FriendUser) SetMessage

func (p *FriendUser) SetMessage(val *string)

func (*FriendUser) SetMsgType

func (p *FriendUser) SetMsgType(val int64)

func (*FriendUser) SetUser

func (p *FriendUser) SetUser(val *User)

func (*FriendUser) String

func (p *FriendUser) String() string

func (*FriendUser) Write

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

type IsFollowRequest

type IsFollowRequest struct {
	UserId   int64  `thrift:"user_id,1,required" frugal:"1,required,i64" json:"user_id"`
	ToUserId int64  `thrift:"to_user_id,2,required" frugal:"2,required,i64" json:"to_user_id"`
	Token    string `thrift:"token,3,required" frugal:"3,required,string" json:"token"`
}
var FollowServiceIsFollowArgs_Req_DEFAULT *IsFollowRequest

func NewIsFollowRequest

func NewIsFollowRequest() *IsFollowRequest

func (*IsFollowRequest) BLength

func (p *IsFollowRequest) BLength() int

func (*IsFollowRequest) DeepEqual

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

func (*IsFollowRequest) FastRead

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

func (*IsFollowRequest) FastReadField1

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

func (*IsFollowRequest) FastReadField2

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

func (*IsFollowRequest) FastReadField3

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

func (*IsFollowRequest) FastWrite

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

for compatibility

func (*IsFollowRequest) FastWriteNocopy

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

func (*IsFollowRequest) Field1DeepEqual

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

func (*IsFollowRequest) Field2DeepEqual

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

func (*IsFollowRequest) Field3DeepEqual

func (p *IsFollowRequest) Field3DeepEqual(src string) bool

func (*IsFollowRequest) GetToUserId

func (p *IsFollowRequest) GetToUserId() (v int64)

func (*IsFollowRequest) GetToken

func (p *IsFollowRequest) GetToken() (v string)

func (*IsFollowRequest) GetUserId

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

func (*IsFollowRequest) InitDefault

func (p *IsFollowRequest) InitDefault()

func (*IsFollowRequest) Read

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

func (*IsFollowRequest) ReadField1

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

func (*IsFollowRequest) ReadField2

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

func (*IsFollowRequest) ReadField3

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

func (*IsFollowRequest) SetToUserId

func (p *IsFollowRequest) SetToUserId(val int64)

func (*IsFollowRequest) SetToken

func (p *IsFollowRequest) SetToken(val string)

func (*IsFollowRequest) SetUserId

func (p *IsFollowRequest) SetUserId(val int64)

func (*IsFollowRequest) String

func (p *IsFollowRequest) String() string

func (*IsFollowRequest) Write

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

type IsFollowResponse

type IsFollowResponse struct {
	Base     *BaseResp `thrift:"base,1,required" frugal:"1,required,BaseResp" json:"base"`
	IsFollow bool      `thrift:"is_follow,2,required" frugal:"2,required,bool" json:"is_follow"`
}
var FollowServiceIsFollowResult_Success_DEFAULT *IsFollowResponse

func NewIsFollowResponse

func NewIsFollowResponse() *IsFollowResponse

func (*IsFollowResponse) BLength

func (p *IsFollowResponse) BLength() int

func (*IsFollowResponse) DeepEqual

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

func (*IsFollowResponse) FastRead

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

func (*IsFollowResponse) FastReadField1

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

func (*IsFollowResponse) FastReadField2

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

func (*IsFollowResponse) FastWrite

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

for compatibility

func (*IsFollowResponse) FastWriteNocopy

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

func (*IsFollowResponse) Field1DeepEqual

func (p *IsFollowResponse) Field1DeepEqual(src *BaseResp) bool

func (*IsFollowResponse) Field2DeepEqual

func (p *IsFollowResponse) Field2DeepEqual(src bool) bool

func (*IsFollowResponse) GetBase

func (p *IsFollowResponse) GetBase() (v *BaseResp)

func (*IsFollowResponse) GetIsFollow

func (p *IsFollowResponse) GetIsFollow() (v bool)

func (*IsFollowResponse) InitDefault

func (p *IsFollowResponse) InitDefault()

func (*IsFollowResponse) IsSetBase

func (p *IsFollowResponse) IsSetBase() bool

func (*IsFollowResponse) Read

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

func (*IsFollowResponse) ReadField1

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

func (*IsFollowResponse) ReadField2

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

func (*IsFollowResponse) SetBase

func (p *IsFollowResponse) SetBase(val *BaseResp)

func (*IsFollowResponse) SetIsFollow

func (p *IsFollowResponse) SetIsFollow(val bool)

func (*IsFollowResponse) String

func (p *IsFollowResponse) String() string

func (*IsFollowResponse) Write

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

type User

type User struct {
	Id              int64   `thrift:"id,1,required" frugal:"1,required,i64" json:"id"`
	Name            string  `thrift:"name,2,required" frugal:"2,required,string" json:"name"`
	FollowCount     *int64  `thrift:"follow_count,3,optional" frugal:"3,optional,i64" json:"follow_count,omitempty"`
	FollowerCount   *int64  `thrift:"follower_count,4,optional" frugal:"4,optional,i64" json:"follower_count,omitempty"`
	IsFollow        bool    `thrift:"is_follow,5,required" frugal:"5,required,bool" json:"is_follow"`
	Avatar          *string `thrift:"avatar,6,optional" frugal:"6,optional,string" json:"avatar,omitempty"`
	BackgroundImage *string `thrift:"background_image,7,optional" frugal:"7,optional,string" json:"background_image,omitempty"`
	Signature       *string `thrift:"signature,8,optional" frugal:"8,optional,string" json:"signature,omitempty"`
	TotalFavorited  *int64  `thrift:"total_favorited,9,optional" frugal:"9,optional,i64" json:"total_favorited,omitempty"`
	WorkCount       *int64  `thrift:"work_count,10,optional" frugal:"10,optional,i64" json:"work_count,omitempty"`
	FavoriteCount   *int64  `thrift:"favorite_count,11,optional" frugal:"11,optional,i64" json:"favorite_count,omitempty"`
}
var FriendUser_User_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) BLength

func (p *User) BLength() int

func (*User) DeepEqual

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

func (*User) FastRead

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

func (*User) FastReadField1

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

func (*User) FastReadField10

func (p *User) FastReadField10(buf []byte) (int, error)

func (*User) FastReadField11

func (p *User) FastReadField11(buf []byte) (int, error)

func (*User) FastReadField2

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

func (*User) FastReadField3

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

func (*User) FastReadField4

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

func (*User) FastReadField5

func (p *User) FastReadField5(buf []byte) (int, error)

func (*User) FastReadField6

func (p *User) FastReadField6(buf []byte) (int, error)

func (*User) FastReadField7

func (p *User) FastReadField7(buf []byte) (int, error)

func (*User) FastReadField8

func (p *User) FastReadField8(buf []byte) (int, error)

func (*User) FastReadField9

func (p *User) FastReadField9(buf []byte) (int, error)

func (*User) FastWrite

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

for compatibility

func (*User) FastWriteNocopy

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

func (*User) Field10DeepEqual

func (p *User) Field10DeepEqual(src *int64) bool

func (*User) Field11DeepEqual

func (p *User) Field11DeepEqual(src *int64) bool

func (*User) Field1DeepEqual

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

func (*User) Field2DeepEqual

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

func (*User) Field3DeepEqual

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

func (*User) Field4DeepEqual

func (p *User) Field4DeepEqual(src *int64) bool

func (*User) Field5DeepEqual

func (p *User) Field5DeepEqual(src bool) bool

func (*User) Field6DeepEqual

func (p *User) Field6DeepEqual(src *string) bool

func (*User) Field7DeepEqual

func (p *User) Field7DeepEqual(src *string) bool

func (*User) Field8DeepEqual

func (p *User) Field8DeepEqual(src *string) bool

func (*User) Field9DeepEqual

func (p *User) Field9DeepEqual(src *int64) bool

func (*User) GetAvatar

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

func (*User) GetBackgroundImage

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

func (*User) GetFavoriteCount

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

func (*User) GetFollowCount

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

func (*User) GetFollowerCount

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

func (*User) GetId

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

func (*User) GetIsFollow

func (p *User) GetIsFollow() (v bool)

func (*User) GetName

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

func (*User) GetSignature

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

func (*User) GetTotalFavorited

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

func (*User) GetWorkCount

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

func (*User) InitDefault

func (p *User) InitDefault()

func (*User) IsSetAvatar

func (p *User) IsSetAvatar() bool

func (*User) IsSetBackgroundImage

func (p *User) IsSetBackgroundImage() bool

func (*User) IsSetFavoriteCount

func (p *User) IsSetFavoriteCount() bool

func (*User) IsSetFollowCount

func (p *User) IsSetFollowCount() bool

func (*User) IsSetFollowerCount

func (p *User) IsSetFollowerCount() bool

func (*User) IsSetSignature

func (p *User) IsSetSignature() bool

func (*User) IsSetTotalFavorited

func (p *User) IsSetTotalFavorited() bool

func (*User) IsSetWorkCount

func (p *User) IsSetWorkCount() bool

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

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

func (*User) ReadField11

func (p *User) ReadField11(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) ReadField6

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

func (*User) ReadField7

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

func (*User) ReadField8

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

func (*User) ReadField9

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

func (*User) SetAvatar

func (p *User) SetAvatar(val *string)

func (*User) SetBackgroundImage

func (p *User) SetBackgroundImage(val *string)

func (*User) SetFavoriteCount

func (p *User) SetFavoriteCount(val *int64)

func (*User) SetFollowCount

func (p *User) SetFollowCount(val *int64)

func (*User) SetFollowerCount

func (p *User) SetFollowerCount(val *int64)

func (*User) SetId

func (p *User) SetId(val int64)

func (*User) SetIsFollow

func (p *User) SetIsFollow(val bool)

func (*User) SetName

func (p *User) SetName(val string)

func (*User) SetSignature

func (p *User) SetSignature(val *string)

func (*User) SetTotalFavorited

func (p *User) SetTotalFavorited(val *int64)

func (*User) SetWorkCount

func (p *User) SetWorkCount(val *int64)

func (*User) String

func (p *User) String() string

func (*User) Write

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

Directories

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

Jump to

Keyboard shortcuts

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