useruser

package
v0.0.0-...-8f4e997 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var RelationActionResponse_StatusMsg_DEFAULT string
View Source
var RelationFollowListResponse_StatusMsg_DEFAULT string
View Source
var RelationFollowerListResponse_StatusMsg_DEFAULT string
View Source
var RelationFriendListResponse_StatusMsg_DEFAULT string
View Source
var User_FollowCount_DEFAULT int64
View Source
var User_FollowerCount_DEFAULT int64

Functions

This section is empty.

Types

type RelationActionRequest

type RelationActionRequest struct {
	Token      string `thrift:"Token,1" frugal:"1,default,string" json:"token"`
	ToUserId   int64  `thrift:"ToUserId,2" frugal:"2,default,i64" json:"to_user_id"`
	ActionType int32  `thrift:"ActionType,3" frugal:"3,default,i32" json:"action_type"`
}
var UserUserServiceUserRelationActionArgs_Req_DEFAULT *RelationActionRequest

func NewRelationActionRequest

func NewRelationActionRequest() *RelationActionRequest

func (*RelationActionRequest) BLength

func (p *RelationActionRequest) BLength() int

func (*RelationActionRequest) DeepEqual

func (*RelationActionRequest) FastRead

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

func (*RelationActionRequest) FastReadField1

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

func (*RelationActionRequest) FastReadField2

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

func (*RelationActionRequest) FastReadField3

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

func (*RelationActionRequest) FastWrite

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

for compatibility

func (*RelationActionRequest) FastWriteNocopy

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

func (*RelationActionRequest) Field1DeepEqual

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

func (*RelationActionRequest) Field2DeepEqual

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

func (*RelationActionRequest) Field3DeepEqual

func (p *RelationActionRequest) Field3DeepEqual(src int32) bool

func (*RelationActionRequest) GetActionType

func (p *RelationActionRequest) GetActionType() (v int32)

func (*RelationActionRequest) GetToUserId

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

func (*RelationActionRequest) GetToken

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

func (*RelationActionRequest) InitDefault

func (p *RelationActionRequest) InitDefault()

func (*RelationActionRequest) IsValid

func (p *RelationActionRequest) IsValid() error

func (*RelationActionRequest) Read

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

func (*RelationActionRequest) ReadField1

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

func (*RelationActionRequest) ReadField2

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

func (*RelationActionRequest) ReadField3

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

func (*RelationActionRequest) SetActionType

func (p *RelationActionRequest) SetActionType(val int32)

func (*RelationActionRequest) SetToUserId

func (p *RelationActionRequest) SetToUserId(val int64)

func (*RelationActionRequest) SetToken

func (p *RelationActionRequest) SetToken(val string)

func (*RelationActionRequest) String

func (p *RelationActionRequest) String() string

func (*RelationActionRequest) Write

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

type RelationActionResponse

type RelationActionResponse struct {
	StatusCode int32   `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
}
var UserUserServiceUserRelationActionResult_Success_DEFAULT *RelationActionResponse

func NewRelationActionResponse

func NewRelationActionResponse() *RelationActionResponse

func (*RelationActionResponse) BLength

func (p *RelationActionResponse) BLength() int

func (*RelationActionResponse) DeepEqual

func (*RelationActionResponse) FastRead

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

func (*RelationActionResponse) FastReadField1

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

func (*RelationActionResponse) FastReadField2

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

func (*RelationActionResponse) FastWrite

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

for compatibility

func (*RelationActionResponse) FastWriteNocopy

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

func (*RelationActionResponse) Field1DeepEqual

func (p *RelationActionResponse) Field1DeepEqual(src int32) bool

func (*RelationActionResponse) Field2DeepEqual

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

func (*RelationActionResponse) GetStatusCode

func (p *RelationActionResponse) GetStatusCode() (v int32)

func (*RelationActionResponse) GetStatusMsg

func (p *RelationActionResponse) GetStatusMsg() (v string)

func (*RelationActionResponse) InitDefault

func (p *RelationActionResponse) InitDefault()

func (*RelationActionResponse) IsSetStatusMsg

func (p *RelationActionResponse) IsSetStatusMsg() bool

func (*RelationActionResponse) Read

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

func (*RelationActionResponse) ReadField1

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

func (*RelationActionResponse) ReadField2

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

func (*RelationActionResponse) SetStatusCode

func (p *RelationActionResponse) SetStatusCode(val int32)

func (*RelationActionResponse) SetStatusMsg

func (p *RelationActionResponse) SetStatusMsg(val *string)

func (*RelationActionResponse) String

func (p *RelationActionResponse) String() string

func (*RelationActionResponse) Write

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

type RelationFollowListRequest

type RelationFollowListRequest struct {
	UserId int64  `thrift:"UserId,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"Token,2" frugal:"2,default,string" json:"token"`
}
var UserUserServiceUserRelationFollowListArgs_Req_DEFAULT *RelationFollowListRequest

func NewRelationFollowListRequest

func NewRelationFollowListRequest() *RelationFollowListRequest

func (*RelationFollowListRequest) BLength

func (p *RelationFollowListRequest) BLength() int

func (*RelationFollowListRequest) DeepEqual

func (*RelationFollowListRequest) FastRead

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

func (*RelationFollowListRequest) FastReadField1

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

func (*RelationFollowListRequest) FastReadField2

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

func (*RelationFollowListRequest) FastWrite

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

for compatibility

func (*RelationFollowListRequest) FastWriteNocopy

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

func (*RelationFollowListRequest) Field1DeepEqual

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

func (*RelationFollowListRequest) Field2DeepEqual

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

func (*RelationFollowListRequest) GetToken

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

func (*RelationFollowListRequest) GetUserId

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

func (*RelationFollowListRequest) InitDefault

func (p *RelationFollowListRequest) InitDefault()

func (*RelationFollowListRequest) IsValid

func (p *RelationFollowListRequest) IsValid() error

func (*RelationFollowListRequest) Read

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

func (*RelationFollowListRequest) ReadField1

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

func (*RelationFollowListRequest) ReadField2

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

func (*RelationFollowListRequest) SetToken

func (p *RelationFollowListRequest) SetToken(val string)

func (*RelationFollowListRequest) SetUserId

func (p *RelationFollowListRequest) SetUserId(val int64)

func (*RelationFollowListRequest) String

func (p *RelationFollowListRequest) String() string

func (*RelationFollowListRequest) Write

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

type RelationFollowListResponse

type RelationFollowListResponse struct {
	StatusCode int32   `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	UserList   []*User `thrift:"UserList,3" frugal:"3,default,list<User>" json:"user_list"`
}
var UserUserServiceUserRelationFollowListResult_Success_DEFAULT *RelationFollowListResponse

func NewRelationFollowListResponse

func NewRelationFollowListResponse() *RelationFollowListResponse

func (*RelationFollowListResponse) BLength

func (p *RelationFollowListResponse) BLength() int

func (*RelationFollowListResponse) DeepEqual

func (*RelationFollowListResponse) FastRead

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

func (*RelationFollowListResponse) FastReadField1

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

func (*RelationFollowListResponse) FastReadField2

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

func (*RelationFollowListResponse) FastReadField3

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

func (*RelationFollowListResponse) FastWrite

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

for compatibility

func (*RelationFollowListResponse) FastWriteNocopy

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

func (*RelationFollowListResponse) Field1DeepEqual

func (p *RelationFollowListResponse) Field1DeepEqual(src int32) bool

func (*RelationFollowListResponse) Field2DeepEqual

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

func (*RelationFollowListResponse) Field3DeepEqual

func (p *RelationFollowListResponse) Field3DeepEqual(src []*User) bool

func (*RelationFollowListResponse) GetStatusCode

func (p *RelationFollowListResponse) GetStatusCode() (v int32)

func (*RelationFollowListResponse) GetStatusMsg

func (p *RelationFollowListResponse) GetStatusMsg() (v string)

func (*RelationFollowListResponse) GetUserList

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

func (*RelationFollowListResponse) InitDefault

func (p *RelationFollowListResponse) InitDefault()

func (*RelationFollowListResponse) IsSetStatusMsg

func (p *RelationFollowListResponse) IsSetStatusMsg() bool

func (*RelationFollowListResponse) Read

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

func (*RelationFollowListResponse) ReadField1

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

func (*RelationFollowListResponse) ReadField2

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

func (*RelationFollowListResponse) ReadField3

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

func (*RelationFollowListResponse) SetStatusCode

func (p *RelationFollowListResponse) SetStatusCode(val int32)

func (*RelationFollowListResponse) SetStatusMsg

func (p *RelationFollowListResponse) SetStatusMsg(val *string)

func (*RelationFollowListResponse) SetUserList

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

func (*RelationFollowListResponse) String

func (p *RelationFollowListResponse) String() string

func (*RelationFollowListResponse) Write

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

type RelationFollowerListRequest

type RelationFollowerListRequest struct {
	UserId int64  `thrift:"UserId,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"Token,2" frugal:"2,default,string" json:"token"`
}
var UserUserServiceUserRelationFollowerListArgs_Req_DEFAULT *RelationFollowerListRequest

func NewRelationFollowerListRequest

func NewRelationFollowerListRequest() *RelationFollowerListRequest

func (*RelationFollowerListRequest) BLength

func (p *RelationFollowerListRequest) BLength() int

func (*RelationFollowerListRequest) DeepEqual

func (*RelationFollowerListRequest) FastRead

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

func (*RelationFollowerListRequest) FastReadField1

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

func (*RelationFollowerListRequest) FastReadField2

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

func (*RelationFollowerListRequest) FastWrite

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

for compatibility

func (*RelationFollowerListRequest) FastWriteNocopy

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

func (*RelationFollowerListRequest) Field1DeepEqual

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

func (*RelationFollowerListRequest) Field2DeepEqual

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

func (*RelationFollowerListRequest) GetToken

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

func (*RelationFollowerListRequest) GetUserId

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

func (*RelationFollowerListRequest) InitDefault

func (p *RelationFollowerListRequest) InitDefault()

func (*RelationFollowerListRequest) IsValid

func (p *RelationFollowerListRequest) IsValid() error

func (*RelationFollowerListRequest) Read

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

func (*RelationFollowerListRequest) ReadField1

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

func (*RelationFollowerListRequest) ReadField2

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

func (*RelationFollowerListRequest) SetToken

func (p *RelationFollowerListRequest) SetToken(val string)

func (*RelationFollowerListRequest) SetUserId

func (p *RelationFollowerListRequest) SetUserId(val int64)

func (*RelationFollowerListRequest) String

func (p *RelationFollowerListRequest) String() string

func (*RelationFollowerListRequest) Write

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

type RelationFollowerListResponse

type RelationFollowerListResponse struct {
	StatusCode int32   `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	UserList   []*User `thrift:"UserList,3" frugal:"3,default,list<User>" json:"user_list"`
}
var UserUserServiceUserRelationFollowerListResult_Success_DEFAULT *RelationFollowerListResponse

func NewRelationFollowerListResponse

func NewRelationFollowerListResponse() *RelationFollowerListResponse

func (*RelationFollowerListResponse) BLength

func (p *RelationFollowerListResponse) BLength() int

func (*RelationFollowerListResponse) DeepEqual

func (*RelationFollowerListResponse) FastRead

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

func (*RelationFollowerListResponse) FastReadField1

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

func (*RelationFollowerListResponse) FastReadField2

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

func (*RelationFollowerListResponse) FastReadField3

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

func (*RelationFollowerListResponse) FastWrite

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

for compatibility

func (*RelationFollowerListResponse) FastWriteNocopy

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

func (*RelationFollowerListResponse) Field1DeepEqual

func (p *RelationFollowerListResponse) Field1DeepEqual(src int32) bool

func (*RelationFollowerListResponse) Field2DeepEqual

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

func (*RelationFollowerListResponse) Field3DeepEqual

func (p *RelationFollowerListResponse) Field3DeepEqual(src []*User) bool

func (*RelationFollowerListResponse) GetStatusCode

func (p *RelationFollowerListResponse) GetStatusCode() (v int32)

func (*RelationFollowerListResponse) GetStatusMsg

func (p *RelationFollowerListResponse) GetStatusMsg() (v string)

func (*RelationFollowerListResponse) GetUserList

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

func (*RelationFollowerListResponse) InitDefault

func (p *RelationFollowerListResponse) InitDefault()

func (*RelationFollowerListResponse) IsSetStatusMsg

func (p *RelationFollowerListResponse) IsSetStatusMsg() bool

func (*RelationFollowerListResponse) Read

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

func (*RelationFollowerListResponse) ReadField1

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

func (*RelationFollowerListResponse) ReadField2

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

func (*RelationFollowerListResponse) ReadField3

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

func (*RelationFollowerListResponse) SetStatusCode

func (p *RelationFollowerListResponse) SetStatusCode(val int32)

func (*RelationFollowerListResponse) SetStatusMsg

func (p *RelationFollowerListResponse) SetStatusMsg(val *string)

func (*RelationFollowerListResponse) SetUserList

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

func (*RelationFollowerListResponse) String

func (*RelationFollowerListResponse) Write

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

type RelationFriendListRequest

type RelationFriendListRequest struct {
	UserId int64  `thrift:"UserId,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"Token,2" frugal:"2,default,string" json:"token"`
}
var UserUserServiceUserRelationFriendListArgs_Req_DEFAULT *RelationFriendListRequest

func NewRelationFriendListRequest

func NewRelationFriendListRequest() *RelationFriendListRequest

func (*RelationFriendListRequest) BLength

func (p *RelationFriendListRequest) BLength() int

func (*RelationFriendListRequest) DeepEqual

func (*RelationFriendListRequest) FastRead

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

func (*RelationFriendListRequest) FastReadField1

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

func (*RelationFriendListRequest) FastReadField2

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

func (*RelationFriendListRequest) FastWrite

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

for compatibility

func (*RelationFriendListRequest) FastWriteNocopy

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

func (*RelationFriendListRequest) Field1DeepEqual

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

func (*RelationFriendListRequest) Field2DeepEqual

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

func (*RelationFriendListRequest) GetToken

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

func (*RelationFriendListRequest) GetUserId

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

func (*RelationFriendListRequest) InitDefault

func (p *RelationFriendListRequest) InitDefault()

func (*RelationFriendListRequest) IsValid

func (p *RelationFriendListRequest) IsValid() error

func (*RelationFriendListRequest) Read

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

func (*RelationFriendListRequest) ReadField1

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

func (*RelationFriendListRequest) ReadField2

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

func (*RelationFriendListRequest) SetToken

func (p *RelationFriendListRequest) SetToken(val string)

func (*RelationFriendListRequest) SetUserId

func (p *RelationFriendListRequest) SetUserId(val int64)

func (*RelationFriendListRequest) String

func (p *RelationFriendListRequest) String() string

func (*RelationFriendListRequest) Write

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

type RelationFriendListResponse

type RelationFriendListResponse struct {
	StatusCode int32   `thrift:"StatusCode,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"StatusMsg,2,optional" frugal:"2,optional,string" json:"status_msg"`
	UserList   []*User `thrift:"UserList,3" frugal:"3,default,list<User>" json:"user_list"`
}
var UserUserServiceUserRelationFriendListResult_Success_DEFAULT *RelationFriendListResponse

func NewRelationFriendListResponse

func NewRelationFriendListResponse() *RelationFriendListResponse

func (*RelationFriendListResponse) BLength

func (p *RelationFriendListResponse) BLength() int

func (*RelationFriendListResponse) DeepEqual

func (*RelationFriendListResponse) FastRead

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

func (*RelationFriendListResponse) FastReadField1

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

func (*RelationFriendListResponse) FastReadField2

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

func (*RelationFriendListResponse) FastReadField3

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

func (*RelationFriendListResponse) FastWrite

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

for compatibility

func (*RelationFriendListResponse) FastWriteNocopy

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

func (*RelationFriendListResponse) Field1DeepEqual

func (p *RelationFriendListResponse) Field1DeepEqual(src int32) bool

func (*RelationFriendListResponse) Field2DeepEqual

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

func (*RelationFriendListResponse) Field3DeepEqual

func (p *RelationFriendListResponse) Field3DeepEqual(src []*User) bool

func (*RelationFriendListResponse) GetStatusCode

func (p *RelationFriendListResponse) GetStatusCode() (v int32)

func (*RelationFriendListResponse) GetStatusMsg

func (p *RelationFriendListResponse) GetStatusMsg() (v string)

func (*RelationFriendListResponse) GetUserList

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

func (*RelationFriendListResponse) InitDefault

func (p *RelationFriendListResponse) InitDefault()

func (*RelationFriendListResponse) IsSetStatusMsg

func (p *RelationFriendListResponse) IsSetStatusMsg() bool

func (*RelationFriendListResponse) Read

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

func (*RelationFriendListResponse) ReadField1

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

func (*RelationFriendListResponse) ReadField2

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

func (*RelationFriendListResponse) ReadField3

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

func (*RelationFriendListResponse) SetStatusCode

func (p *RelationFriendListResponse) SetStatusCode(val int32)

func (*RelationFriendListResponse) SetStatusMsg

func (p *RelationFriendListResponse) SetStatusMsg(val *string)

func (*RelationFriendListResponse) SetUserList

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

func (*RelationFriendListResponse) String

func (p *RelationFriendListResponse) String() string

func (*RelationFriendListResponse) Write

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

type User

type User struct {
	Id            int64  `thrift:"Id,1" frugal:"1,default,i64" json:"id"`
	Name          string `thrift:"Name,2" frugal:"2,default,string" json:"name"`
	FollowCount   *int64 `thrift:"FollowCount,3,optional" frugal:"3,optional,i64" json:"follow_count"`
	FollowerCount *int64 `thrift:"FollowerCount,4,optional" frugal:"4,optional,i64" json:"follower_count"`
	IsFollow      bool   `thrift:"IsFollow,5" frugal:"5,default,bool" json:"is_follow"`
}

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

func (p *User) InitDefault()

func (*User) IsSetFollowCount

func (p *User) IsSetFollowCount() bool

func (*User) IsSetFollowerCount

func (p *User) IsSetFollowerCount() 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) 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) 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) String

func (p *User) String() string

func (*User) Write

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

type UserUserService

type UserUserService interface {
	UserRelationAction(ctx context.Context, req *RelationActionRequest) (r *RelationActionResponse, err error)

	UserRelationFollowList(ctx context.Context, req *RelationFollowListRequest) (r *RelationFollowListResponse, err error)

	UserRelationFollowerList(ctx context.Context, req *RelationFollowerListRequest) (r *RelationFollowerListResponse, err error)

	UserRelationFriendList(ctx context.Context, req *RelationFriendListRequest) (r *RelationFriendListResponse, err error)
}

type UserUserServiceClient

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

func NewUserUserServiceClient

func NewUserUserServiceClient(c thrift.TClient) *UserUserServiceClient

func NewUserUserServiceClientProtocol

func NewUserUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserUserServiceClient

func (*UserUserServiceClient) Client_

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

func (*UserUserServiceClient) UserRelationAction

func (p *UserUserServiceClient) UserRelationAction(ctx context.Context, req *RelationActionRequest) (r *RelationActionResponse, err error)

func (*UserUserServiceClient) UserRelationFollowList

func (p *UserUserServiceClient) UserRelationFollowList(ctx context.Context, req *RelationFollowListRequest) (r *RelationFollowListResponse, err error)

func (*UserUserServiceClient) UserRelationFollowerList

func (*UserUserServiceClient) UserRelationFriendList

func (p *UserUserServiceClient) UserRelationFriendList(ctx context.Context, req *RelationFriendListRequest) (r *RelationFriendListResponse, err error)

type UserUserServiceProcessor

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

func NewUserUserServiceProcessor

func NewUserUserServiceProcessor(handler UserUserService) *UserUserServiceProcessor

func (*UserUserServiceProcessor) AddToProcessorMap

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

func (*UserUserServiceProcessor) GetProcessorFunction

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

func (*UserUserServiceProcessor) Process

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

func (*UserUserServiceProcessor) ProcessorMap

type UserUserServiceUserRelationActionArgs

type UserUserServiceUserRelationActionArgs struct {
	Req *RelationActionRequest `thrift:"Req,1" frugal:"1,default,RelationActionRequest" json:"Req"`
}

func NewUserUserServiceUserRelationActionArgs

func NewUserUserServiceUserRelationActionArgs() *UserUserServiceUserRelationActionArgs

func (*UserUserServiceUserRelationActionArgs) BLength

func (*UserUserServiceUserRelationActionArgs) DeepEqual

func (*UserUserServiceUserRelationActionArgs) FastRead

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

func (*UserUserServiceUserRelationActionArgs) FastReadField1

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

func (*UserUserServiceUserRelationActionArgs) FastWrite

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

for compatibility

func (*UserUserServiceUserRelationActionArgs) FastWriteNocopy

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

func (*UserUserServiceUserRelationActionArgs) Field1DeepEqual

func (*UserUserServiceUserRelationActionArgs) GetFirstArgument

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

func (*UserUserServiceUserRelationActionArgs) GetReq

func (*UserUserServiceUserRelationActionArgs) InitDefault

func (p *UserUserServiceUserRelationActionArgs) InitDefault()

func (*UserUserServiceUserRelationActionArgs) IsSetReq

func (*UserUserServiceUserRelationActionArgs) Read

func (*UserUserServiceUserRelationActionArgs) ReadField1

func (*UserUserServiceUserRelationActionArgs) SetReq

func (*UserUserServiceUserRelationActionArgs) String

func (*UserUserServiceUserRelationActionArgs) Write

type UserUserServiceUserRelationActionResult

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

func NewUserUserServiceUserRelationActionResult

func NewUserUserServiceUserRelationActionResult() *UserUserServiceUserRelationActionResult

func (*UserUserServiceUserRelationActionResult) BLength

func (*UserUserServiceUserRelationActionResult) DeepEqual

func (*UserUserServiceUserRelationActionResult) FastRead

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

func (*UserUserServiceUserRelationActionResult) FastReadField0

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

func (*UserUserServiceUserRelationActionResult) FastWrite

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

for compatibility

func (*UserUserServiceUserRelationActionResult) FastWriteNocopy

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

func (*UserUserServiceUserRelationActionResult) Field0DeepEqual

func (*UserUserServiceUserRelationActionResult) GetResult

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

func (*UserUserServiceUserRelationActionResult) GetSuccess

func (*UserUserServiceUserRelationActionResult) InitDefault

func (p *UserUserServiceUserRelationActionResult) InitDefault()

func (*UserUserServiceUserRelationActionResult) IsSetSuccess

func (*UserUserServiceUserRelationActionResult) Read

func (*UserUserServiceUserRelationActionResult) ReadField0

func (*UserUserServiceUserRelationActionResult) SetSuccess

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

func (*UserUserServiceUserRelationActionResult) String

func (*UserUserServiceUserRelationActionResult) Write

type UserUserServiceUserRelationFollowListArgs

type UserUserServiceUserRelationFollowListArgs struct {
	Req *RelationFollowListRequest `thrift:"Req,1" frugal:"1,default,RelationFollowListRequest" json:"Req"`
}

func NewUserUserServiceUserRelationFollowListArgs

func NewUserUserServiceUserRelationFollowListArgs() *UserUserServiceUserRelationFollowListArgs

func (*UserUserServiceUserRelationFollowListArgs) BLength

func (*UserUserServiceUserRelationFollowListArgs) DeepEqual

func (*UserUserServiceUserRelationFollowListArgs) FastRead

func (*UserUserServiceUserRelationFollowListArgs) FastReadField1

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

func (*UserUserServiceUserRelationFollowListArgs) FastWrite

for compatibility

func (*UserUserServiceUserRelationFollowListArgs) FastWriteNocopy

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

func (*UserUserServiceUserRelationFollowListArgs) Field1DeepEqual

func (*UserUserServiceUserRelationFollowListArgs) GetFirstArgument

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

func (*UserUserServiceUserRelationFollowListArgs) GetReq

func (*UserUserServiceUserRelationFollowListArgs) InitDefault

func (*UserUserServiceUserRelationFollowListArgs) IsSetReq

func (*UserUserServiceUserRelationFollowListArgs) Read

func (*UserUserServiceUserRelationFollowListArgs) ReadField1

func (*UserUserServiceUserRelationFollowListArgs) SetReq

func (*UserUserServiceUserRelationFollowListArgs) String

func (*UserUserServiceUserRelationFollowListArgs) Write

type UserUserServiceUserRelationFollowListResult

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

func NewUserUserServiceUserRelationFollowListResult

func NewUserUserServiceUserRelationFollowListResult() *UserUserServiceUserRelationFollowListResult

func (*UserUserServiceUserRelationFollowListResult) BLength

func (*UserUserServiceUserRelationFollowListResult) DeepEqual

func (*UserUserServiceUserRelationFollowListResult) FastRead

func (*UserUserServiceUserRelationFollowListResult) FastReadField0

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

func (*UserUserServiceUserRelationFollowListResult) FastWrite

for compatibility

func (*UserUserServiceUserRelationFollowListResult) FastWriteNocopy

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

func (*UserUserServiceUserRelationFollowListResult) Field0DeepEqual

func (*UserUserServiceUserRelationFollowListResult) GetResult

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

func (*UserUserServiceUserRelationFollowListResult) GetSuccess

func (*UserUserServiceUserRelationFollowListResult) InitDefault

func (*UserUserServiceUserRelationFollowListResult) IsSetSuccess

func (*UserUserServiceUserRelationFollowListResult) Read

func (*UserUserServiceUserRelationFollowListResult) ReadField0

func (*UserUserServiceUserRelationFollowListResult) SetSuccess

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

func (*UserUserServiceUserRelationFollowListResult) String

func (*UserUserServiceUserRelationFollowListResult) Write

type UserUserServiceUserRelationFollowerListArgs

type UserUserServiceUserRelationFollowerListArgs struct {
	Req *RelationFollowerListRequest `thrift:"Req,1" frugal:"1,default,RelationFollowerListRequest" json:"Req"`
}

func NewUserUserServiceUserRelationFollowerListArgs

func NewUserUserServiceUserRelationFollowerListArgs() *UserUserServiceUserRelationFollowerListArgs

func (*UserUserServiceUserRelationFollowerListArgs) BLength

func (*UserUserServiceUserRelationFollowerListArgs) DeepEqual

func (*UserUserServiceUserRelationFollowerListArgs) FastRead

func (*UserUserServiceUserRelationFollowerListArgs) FastReadField1

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

func (*UserUserServiceUserRelationFollowerListArgs) FastWrite

for compatibility

func (*UserUserServiceUserRelationFollowerListArgs) FastWriteNocopy

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

func (*UserUserServiceUserRelationFollowerListArgs) Field1DeepEqual

func (*UserUserServiceUserRelationFollowerListArgs) GetFirstArgument

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

func (*UserUserServiceUserRelationFollowerListArgs) GetReq

func (*UserUserServiceUserRelationFollowerListArgs) InitDefault

func (*UserUserServiceUserRelationFollowerListArgs) IsSetReq

func (*UserUserServiceUserRelationFollowerListArgs) Read

func (*UserUserServiceUserRelationFollowerListArgs) ReadField1

func (*UserUserServiceUserRelationFollowerListArgs) SetReq

func (*UserUserServiceUserRelationFollowerListArgs) String

func (*UserUserServiceUserRelationFollowerListArgs) Write

type UserUserServiceUserRelationFollowerListResult

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

func NewUserUserServiceUserRelationFollowerListResult

func NewUserUserServiceUserRelationFollowerListResult() *UserUserServiceUserRelationFollowerListResult

func (*UserUserServiceUserRelationFollowerListResult) BLength

func (*UserUserServiceUserRelationFollowerListResult) DeepEqual

func (*UserUserServiceUserRelationFollowerListResult) FastRead

func (*UserUserServiceUserRelationFollowerListResult) FastReadField0

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

func (*UserUserServiceUserRelationFollowerListResult) FastWrite

for compatibility

func (*UserUserServiceUserRelationFollowerListResult) FastWriteNocopy

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

func (*UserUserServiceUserRelationFollowerListResult) Field0DeepEqual

func (*UserUserServiceUserRelationFollowerListResult) GetResult

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

func (*UserUserServiceUserRelationFollowerListResult) GetSuccess

func (*UserUserServiceUserRelationFollowerListResult) InitDefault

func (*UserUserServiceUserRelationFollowerListResult) IsSetSuccess

func (*UserUserServiceUserRelationFollowerListResult) Read

func (*UserUserServiceUserRelationFollowerListResult) ReadField0

func (*UserUserServiceUserRelationFollowerListResult) SetSuccess

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

func (*UserUserServiceUserRelationFollowerListResult) String

func (*UserUserServiceUserRelationFollowerListResult) Write

type UserUserServiceUserRelationFriendListArgs

type UserUserServiceUserRelationFriendListArgs struct {
	Req *RelationFriendListRequest `thrift:"Req,1" frugal:"1,default,RelationFriendListRequest" json:"Req"`
}

func NewUserUserServiceUserRelationFriendListArgs

func NewUserUserServiceUserRelationFriendListArgs() *UserUserServiceUserRelationFriendListArgs

func (*UserUserServiceUserRelationFriendListArgs) BLength

func (*UserUserServiceUserRelationFriendListArgs) DeepEqual

func (*UserUserServiceUserRelationFriendListArgs) FastRead

func (*UserUserServiceUserRelationFriendListArgs) FastReadField1

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

func (*UserUserServiceUserRelationFriendListArgs) FastWrite

for compatibility

func (*UserUserServiceUserRelationFriendListArgs) FastWriteNocopy

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

func (*UserUserServiceUserRelationFriendListArgs) Field1DeepEqual

func (*UserUserServiceUserRelationFriendListArgs) GetFirstArgument

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

func (*UserUserServiceUserRelationFriendListArgs) GetReq

func (*UserUserServiceUserRelationFriendListArgs) InitDefault

func (*UserUserServiceUserRelationFriendListArgs) IsSetReq

func (*UserUserServiceUserRelationFriendListArgs) Read

func (*UserUserServiceUserRelationFriendListArgs) ReadField1

func (*UserUserServiceUserRelationFriendListArgs) SetReq

func (*UserUserServiceUserRelationFriendListArgs) String

func (*UserUserServiceUserRelationFriendListArgs) Write

type UserUserServiceUserRelationFriendListResult

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

func NewUserUserServiceUserRelationFriendListResult

func NewUserUserServiceUserRelationFriendListResult() *UserUserServiceUserRelationFriendListResult

func (*UserUserServiceUserRelationFriendListResult) BLength

func (*UserUserServiceUserRelationFriendListResult) DeepEqual

func (*UserUserServiceUserRelationFriendListResult) FastRead

func (*UserUserServiceUserRelationFriendListResult) FastReadField0

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

func (*UserUserServiceUserRelationFriendListResult) FastWrite

for compatibility

func (*UserUserServiceUserRelationFriendListResult) FastWriteNocopy

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

func (*UserUserServiceUserRelationFriendListResult) Field0DeepEqual

func (*UserUserServiceUserRelationFriendListResult) GetResult

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

func (*UserUserServiceUserRelationFriendListResult) GetSuccess

func (*UserUserServiceUserRelationFriendListResult) InitDefault

func (*UserUserServiceUserRelationFriendListResult) IsSetSuccess

func (*UserUserServiceUserRelationFriendListResult) Read

func (*UserUserServiceUserRelationFriendListResult) ReadField0

func (*UserUserServiceUserRelationFriendListResult) SetSuccess

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

func (*UserUserServiceUserRelationFriendListResult) String

func (*UserUserServiceUserRelationFriendListResult) Write

Directories

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

Jump to

Keyboard shortcuts

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