Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- type CmsTagRequest
- type ForbidRequest
- type IsLikeReply
- func (*IsLikeReply) Descriptor() ([]byte, []int)
- func (m *IsLikeReply) Marshal() (dAtA []byte, err error)
- func (m *IsLikeReply) MarshalTo(dAtA []byte) (int, error)
- func (*IsLikeReply) ProtoMessage()
- func (m *IsLikeReply) Reset()
- func (m *IsLikeReply) Size() (n int)
- func (m *IsLikeReply) String() string
- func (m *IsLikeReply) Unmarshal(dAtA []byte) error
- func (m *IsLikeReply) XXX_DiscardUnknown()
- func (m *IsLikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsLikeReply) XXX_Merge(src proto.Message)
- func (m *IsLikeReply) XXX_Size() int
- func (m *IsLikeReply) XXX_Unmarshal(b []byte) error
- type IsLikeReq
- func (*IsLikeReq) Descriptor() ([]byte, []int)
- func (m *IsLikeReq) Marshal() (dAtA []byte, err error)
- func (m *IsLikeReq) MarshalTo(dAtA []byte) (int, error)
- func (*IsLikeReq) ProtoMessage()
- func (m *IsLikeReq) Reset()
- func (m *IsLikeReq) Size() (n int)
- func (m *IsLikeReq) String() string
- func (m *IsLikeReq) Unmarshal(dAtA []byte) error
- func (m *IsLikeReq) XXX_DiscardUnknown()
- func (m *IsLikeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsLikeReq) XXX_Merge(src proto.Message)
- func (m *IsLikeReq) XXX_Size() int
- func (m *IsLikeReq) XXX_Unmarshal(b []byte) error
- type LikeReply
- func (*LikeReply) Descriptor() ([]byte, []int)
- func (m *LikeReply) Marshal() (dAtA []byte, err error)
- func (m *LikeReply) MarshalTo(dAtA []byte) (int, error)
- func (*LikeReply) ProtoMessage()
- func (m *LikeReply) Reset()
- func (m *LikeReply) Size() (n int)
- func (m *LikeReply) String() string
- func (m *LikeReply) Unmarshal(dAtA []byte) error
- func (m *LikeReply) XXX_DiscardUnknown()
- func (m *LikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LikeReply) XXX_Merge(src proto.Message)
- func (m *LikeReply) XXX_Size() int
- func (m *LikeReply) XXX_Unmarshal(b []byte) error
- type LikeReq
- func (*LikeReq) Descriptor() ([]byte, []int)
- func (m *LikeReq) Marshal() (dAtA []byte, err error)
- func (m *LikeReq) MarshalTo(dAtA []byte) (int, error)
- func (*LikeReq) ProtoMessage()
- func (m *LikeReq) Reset()
- func (m *LikeReq) Size() (n int)
- func (m *LikeReq) String() string
- func (m *LikeReq) Unmarshal(dAtA []byte) error
- func (m *LikeReq) XXX_DiscardUnknown()
- func (m *LikeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LikeReq) XXX_Merge(src proto.Message)
- func (m *LikeReq) XXX_Size() int
- func (m *LikeReq) XXX_Unmarshal(b []byte) error
- type LikeSv
- func (*LikeSv) Descriptor() ([]byte, []int)
- func (m *LikeSv) Marshal() (dAtA []byte, err error)
- func (m *LikeSv) MarshalTo(dAtA []byte) (int, error)
- func (*LikeSv) ProtoMessage()
- func (m *LikeSv) Reset()
- func (m *LikeSv) Size() (n int)
- func (m *LikeSv) String() string
- func (m *LikeSv) Unmarshal(dAtA []byte) error
- func (m *LikeSv) XXX_DiscardUnknown()
- func (m *LikeSv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LikeSv) XXX_Merge(src proto.Message)
- func (m *LikeSv) XXX_Size() int
- func (m *LikeSv) XXX_Unmarshal(b []byte) error
- type ListRelationReply
- func (*ListRelationReply) Descriptor() ([]byte, []int)
- func (m *ListRelationReply) Marshal() (dAtA []byte, err error)
- func (m *ListRelationReply) MarshalTo(dAtA []byte) (int, error)
- func (*ListRelationReply) ProtoMessage()
- func (m *ListRelationReply) Reset()
- func (m *ListRelationReply) Size() (n int)
- func (m *ListRelationReply) String() string
- func (m *ListRelationReply) Unmarshal(dAtA []byte) error
- func (m *ListRelationReply) XXX_DiscardUnknown()
- func (m *ListRelationReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRelationReply) XXX_Merge(src proto.Message)
- func (m *ListRelationReply) XXX_Size() int
- func (m *ListRelationReply) XXX_Unmarshal(b []byte) error
- type ListRelationReq
- func (*ListRelationReq) Descriptor() ([]byte, []int)
- func (m *ListRelationReq) Marshal() (dAtA []byte, err error)
- func (m *ListRelationReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListRelationReq) ProtoMessage()
- func (m *ListRelationReq) Reset()
- func (m *ListRelationReq) Size() (n int)
- func (m *ListRelationReq) String() string
- func (m *ListRelationReq) Unmarshal(dAtA []byte) error
- func (m *ListRelationReq) XXX_DiscardUnknown()
- func (m *ListRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRelationReq) XXX_Merge(src proto.Message)
- func (m *ListRelationReq) XXX_Size() int
- func (m *ListRelationReq) XXX_Unmarshal(b []byte) error
- type ListRelationUserInfoReq
- func (*ListRelationUserInfoReq) Descriptor() ([]byte, []int)
- func (m *ListRelationUserInfoReq) Marshal() (dAtA []byte, err error)
- func (m *ListRelationUserInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListRelationUserInfoReq) ProtoMessage()
- func (m *ListRelationUserInfoReq) Reset()
- func (m *ListRelationUserInfoReq) Size() (n int)
- func (m *ListRelationUserInfoReq) String() string
- func (m *ListRelationUserInfoReq) Unmarshal(dAtA []byte) error
- func (m *ListRelationUserInfoReq) XXX_DiscardUnknown()
- func (m *ListRelationUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRelationUserInfoReq) XXX_Merge(src proto.Message)
- func (m *ListRelationUserInfoReq) XXX_Size() int
- func (m *ListRelationUserInfoReq) XXX_Unmarshal(b []byte) error
- type ListUserInfoConf
- func (*ListUserInfoConf) Descriptor() ([]byte, []int)
- func (m *ListUserInfoConf) Marshal() (dAtA []byte, err error)
- func (m *ListUserInfoConf) MarshalTo(dAtA []byte) (int, error)
- func (*ListUserInfoConf) ProtoMessage()
- func (m *ListUserInfoConf) Reset()
- func (m *ListUserInfoConf) Size() (n int)
- func (m *ListUserInfoConf) String() string
- func (m *ListUserInfoConf) Unmarshal(dAtA []byte) error
- func (m *ListUserInfoConf) XXX_DiscardUnknown()
- func (m *ListUserInfoConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserInfoConf) XXX_Merge(src proto.Message)
- func (m *ListUserInfoConf) XXX_Size() int
- func (m *ListUserInfoConf) XXX_Unmarshal(b []byte) error
- type ListUserInfoReply
- func (*ListUserInfoReply) Descriptor() ([]byte, []int)
- func (m *ListUserInfoReply) Marshal() (dAtA []byte, err error)
- func (m *ListUserInfoReply) MarshalTo(dAtA []byte) (int, error)
- func (*ListUserInfoReply) ProtoMessage()
- func (m *ListUserInfoReply) Reset()
- func (m *ListUserInfoReply) Size() (n int)
- func (m *ListUserInfoReply) String() string
- func (m *ListUserInfoReply) Unmarshal(dAtA []byte) error
- func (m *ListUserInfoReply) XXX_DiscardUnknown()
- func (m *ListUserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserInfoReply) XXX_Merge(src proto.Message)
- func (m *ListUserInfoReply) XXX_Size() int
- func (m *ListUserInfoReply) XXX_Unmarshal(b []byte) error
- type ListUserInfoReq
- func (*ListUserInfoReq) Descriptor() ([]byte, []int)
- func (m *ListUserInfoReq) Marshal() (dAtA []byte, err error)
- func (m *ListUserInfoReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListUserInfoReq) ProtoMessage()
- func (m *ListUserInfoReq) Reset()
- func (m *ListUserInfoReq) Size() (n int)
- func (m *ListUserInfoReq) String() string
- func (m *ListUserInfoReq) Unmarshal(dAtA []byte) error
- func (m *ListUserInfoReq) XXX_DiscardUnknown()
- func (m *ListUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserInfoReq) XXX_Merge(src proto.Message)
- func (m *ListUserInfoReq) XXX_Size() int
- func (m *ListUserInfoReq) XXX_Unmarshal(b []byte) error
- type ListUserLikeReply
- func (*ListUserLikeReply) Descriptor() ([]byte, []int)
- func (m *ListUserLikeReply) Marshal() (dAtA []byte, err error)
- func (m *ListUserLikeReply) MarshalTo(dAtA []byte) (int, error)
- func (*ListUserLikeReply) ProtoMessage()
- func (m *ListUserLikeReply) Reset()
- func (m *ListUserLikeReply) Size() (n int)
- func (m *ListUserLikeReply) String() string
- func (m *ListUserLikeReply) Unmarshal(dAtA []byte) error
- func (m *ListUserLikeReply) XXX_DiscardUnknown()
- func (m *ListUserLikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserLikeReply) XXX_Merge(src proto.Message)
- func (m *ListUserLikeReply) XXX_Size() int
- func (m *ListUserLikeReply) XXX_Unmarshal(b []byte) error
- type ListUserLikeReq
- func (*ListUserLikeReq) Descriptor() ([]byte, []int)
- func (m *ListUserLikeReq) Marshal() (dAtA []byte, err error)
- func (m *ListUserLikeReq) MarshalTo(dAtA []byte) (int, error)
- func (*ListUserLikeReq) ProtoMessage()
- func (m *ListUserLikeReq) Reset()
- func (m *ListUserLikeReq) Size() (n int)
- func (m *ListUserLikeReq) String() string
- func (m *ListUserLikeReq) Unmarshal(dAtA []byte) error
- func (m *ListUserLikeReq) XXX_DiscardUnknown()
- func (m *ListUserLikeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserLikeReq) XXX_Merge(src proto.Message)
- func (m *ListUserLikeReq) XXX_Size() int
- func (m *ListUserLikeReq) XXX_Unmarshal(b []byte) error
- type LocationItem
- func (*LocationItem) Descriptor() ([]byte, []int)
- func (m *LocationItem) Marshal() (dAtA []byte, err error)
- func (m *LocationItem) MarshalTo(dAtA []byte) (int, error)
- func (*LocationItem) ProtoMessage()
- func (m *LocationItem) Reset()
- func (m *LocationItem) Size() (n int)
- func (m *LocationItem) String() string
- func (m *LocationItem) Unmarshal(dAtA []byte) error
- func (m *LocationItem) XXX_DiscardUnknown()
- func (m *LocationItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LocationItem) XXX_Merge(src proto.Message)
- func (m *LocationItem) XXX_Size() int
- func (m *LocationItem) XXX_Unmarshal(b []byte) error
- type ModifyRelationReply
- func (*ModifyRelationReply) Descriptor() ([]byte, []int)
- func (m *ModifyRelationReply) Marshal() (dAtA []byte, err error)
- func (m *ModifyRelationReply) MarshalTo(dAtA []byte) (int, error)
- func (*ModifyRelationReply) ProtoMessage()
- func (m *ModifyRelationReply) Reset()
- func (m *ModifyRelationReply) Size() (n int)
- func (m *ModifyRelationReply) String() string
- func (m *ModifyRelationReply) Unmarshal(dAtA []byte) error
- func (m *ModifyRelationReply) XXX_DiscardUnknown()
- func (m *ModifyRelationReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyRelationReply) XXX_Merge(src proto.Message)
- func (m *ModifyRelationReply) XXX_Size() int
- func (m *ModifyRelationReply) XXX_Unmarshal(b []byte) error
- type ModifyRelationReq
- func (*ModifyRelationReq) Descriptor() ([]byte, []int)
- func (m *ModifyRelationReq) Marshal() (dAtA []byte, err error)
- func (m *ModifyRelationReq) MarshalTo(dAtA []byte) (int, error)
- func (*ModifyRelationReq) ProtoMessage()
- func (m *ModifyRelationReq) Reset()
- func (m *ModifyRelationReq) Size() (n int)
- func (m *ModifyRelationReq) String() string
- func (m *ModifyRelationReq) Unmarshal(dAtA []byte) error
- func (m *ModifyRelationReq) XXX_DiscardUnknown()
- func (m *ModifyRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyRelationReq) XXX_Merge(src proto.Message)
- func (m *ModifyRelationReq) XXX_Size() int
- func (m *ModifyRelationReq) XXX_Unmarshal(b []byte) error
- type PhoneCheckReply
- func (*PhoneCheckReply) Descriptor() ([]byte, []int)
- func (m *PhoneCheckReply) Marshal() (dAtA []byte, err error)
- func (m *PhoneCheckReply) MarshalTo(dAtA []byte) (int, error)
- func (*PhoneCheckReply) ProtoMessage()
- func (m *PhoneCheckReply) Reset()
- func (m *PhoneCheckReply) Size() (n int)
- func (m *PhoneCheckReply) String() string
- func (m *PhoneCheckReply) Unmarshal(dAtA []byte) error
- func (m *PhoneCheckReply) XXX_DiscardUnknown()
- func (m *PhoneCheckReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PhoneCheckReply) XXX_Merge(src proto.Message)
- func (m *PhoneCheckReply) XXX_Size() int
- func (m *PhoneCheckReply) XXX_Unmarshal(b []byte) error
- type PhoneCheckReq
- func (*PhoneCheckReq) Descriptor() ([]byte, []int)
- func (m *PhoneCheckReq) Marshal() (dAtA []byte, err error)
- func (m *PhoneCheckReq) MarshalTo(dAtA []byte) (int, error)
- func (*PhoneCheckReq) ProtoMessage()
- func (m *PhoneCheckReq) Reset()
- func (m *PhoneCheckReq) Size() (n int)
- func (m *PhoneCheckReq) String() string
- func (m *PhoneCheckReq) Unmarshal(dAtA []byte) error
- func (m *PhoneCheckReq) XXX_DiscardUnknown()
- func (m *PhoneCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PhoneCheckReq) XXX_Merge(src proto.Message)
- func (m *PhoneCheckReq) XXX_Size() int
- func (m *PhoneCheckReq) XXX_Unmarshal(b []byte) error
- type ReleaseRequest
- type UserBase
- func (*UserBase) Descriptor() ([]byte, []int)
- func (m *UserBase) Marshal() (dAtA []byte, err error)
- func (m *UserBase) MarshalTo(dAtA []byte) (int, error)
- func (*UserBase) ProtoMessage()
- func (m *UserBase) Reset()
- func (m *UserBase) Size() (n int)
- func (m *UserBase) String() string
- func (m *UserBase) Unmarshal(dAtA []byte) error
- func (m *UserBase) XXX_DiscardUnknown()
- func (m *UserBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserBase) XXX_Merge(src proto.Message)
- func (m *UserBase) XXX_Size() int
- func (m *UserBase) XXX_Unmarshal(b []byte) error
- type UserClient
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)
- func (m *UserInfo) Marshal() (dAtA []byte, err error)
- func (m *UserInfo) MarshalTo(dAtA []byte) (int, error)
- func (*UserInfo) ProtoMessage()
- func (m *UserInfo) Reset()
- func (m *UserInfo) Size() (n int)
- func (m *UserInfo) String() string
- func (m *UserInfo) Unmarshal(dAtA []byte) error
- func (m *UserInfo) XXX_DiscardUnknown()
- func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserInfo) XXX_Merge(src proto.Message)
- func (m *UserInfo) XXX_Size() int
- func (m *UserInfo) XXX_Unmarshal(b []byte) error
- type UserServer
- type UserStat
- func (*UserStat) Descriptor() ([]byte, []int)
- func (m *UserStat) Marshal() (dAtA []byte, err error)
- func (m *UserStat) MarshalTo(dAtA []byte) (int, error)
- func (*UserStat) ProtoMessage()
- func (m *UserStat) Reset()
- func (m *UserStat) Size() (n int)
- func (m *UserStat) String() string
- func (m *UserStat) Unmarshal(dAtA []byte) error
- func (m *UserStat) XXX_DiscardUnknown()
- func (m *UserStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserStat) XXX_Merge(src proto.Message)
- func (m *UserStat) XXX_Size() int
- func (m *UserStat) XXX_Unmarshal(b []byte) error
- type UserVideoView
- func (*UserVideoView) Descriptor() ([]byte, []int)
- func (m *UserVideoView) Marshal() (dAtA []byte, err error)
- func (m *UserVideoView) MarshalTo(dAtA []byte) (int, error)
- func (*UserVideoView) ProtoMessage()
- func (m *UserVideoView) Reset()
- func (m *UserVideoView) Size() (n int)
- func (m *UserVideoView) String() string
- func (m *UserVideoView) Unmarshal(dAtA []byte) error
- func (m *UserVideoView) XXX_DiscardUnknown()
- func (m *UserVideoView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UserVideoView) XXX_Merge(src proto.Message)
- func (m *UserVideoView) XXX_Size() int
- func (m *UserVideoView) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( FollowAdd int32 = 1 FollowCancel int32 = 2 BlackAdd int32 = 3 BlackCancel int32 = 4 )
int的action
View Source
const ( Follow int32 = 1 Fan int32 = 2 Black int32 = 4 )
relation list type
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterUserServer ¶
func RegisterUserServer(s *grpc.Server, srv UserServer)
Types ¶
type CmsTagRequest ¶
type CmsTagRequest struct { Mid int64 `json:"mid" form:"mid" validate:"required"` CmsTag int64 `json:"cms_tag" form:"cms_tag"` }
CmsTagRequest 修改cms_tag的请求
type ForbidRequest ¶
type ForbidRequest struct { MID uint64 `json:"mid" form:"mid" validate:"required,gt=0"` ExpireTime uint64 `json:"expire_time" form:"expire_time" validate:"required,gt=0"` }
ForbidRequest ..
type IsLikeReply ¶
type IsLikeReply struct { List []int64 `protobuf:"varint,1,rep,packed,name=list" json:"has_more,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IsLikeReply) Descriptor ¶
func (*IsLikeReply) Descriptor() ([]byte, []int)
func (*IsLikeReply) Marshal ¶
func (m *IsLikeReply) Marshal() (dAtA []byte, err error)
func (*IsLikeReply) ProtoMessage ¶
func (*IsLikeReply) ProtoMessage()
func (*IsLikeReply) Reset ¶
func (m *IsLikeReply) Reset()
func (*IsLikeReply) Size ¶
func (m *IsLikeReply) Size() (n int)
func (*IsLikeReply) String ¶
func (m *IsLikeReply) String() string
func (*IsLikeReply) Unmarshal ¶
func (m *IsLikeReply) Unmarshal(dAtA []byte) error
func (*IsLikeReply) XXX_DiscardUnknown ¶
func (m *IsLikeReply) XXX_DiscardUnknown()
func (*IsLikeReply) XXX_Marshal ¶
func (m *IsLikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsLikeReply) XXX_Merge ¶
func (dst *IsLikeReply) XXX_Merge(src proto.Message)
func (*IsLikeReply) XXX_Size ¶
func (m *IsLikeReply) XXX_Size() int
func (*IsLikeReply) XXX_Unmarshal ¶
func (m *IsLikeReply) XXX_Unmarshal(b []byte) error
type IsLikeReq ¶
type IsLikeReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"` Svids []int64 `protobuf:"varint,2,rep,packed,name=svids" json:"svids,omitempty" form:"svids"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IsLikeReq) Descriptor ¶
func (*IsLikeReq) ProtoMessage ¶
func (*IsLikeReq) ProtoMessage()
func (*IsLikeReq) XXX_DiscardUnknown ¶
func (m *IsLikeReq) XXX_DiscardUnknown()
func (*IsLikeReq) XXX_Marshal ¶
func (*IsLikeReq) XXX_Unmarshal ¶
type LikeReply ¶
type LikeReply struct { AffectedNum int64 `protobuf:"varint,1,opt,name=affected_num,json=affectedNum,proto3" json:"affected_num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LikeReply) Descriptor ¶
func (*LikeReply) ProtoMessage ¶
func (*LikeReply) ProtoMessage()
func (*LikeReply) XXX_DiscardUnknown ¶
func (m *LikeReply) XXX_DiscardUnknown()
func (*LikeReply) XXX_Marshal ¶
func (*LikeReply) XXX_Unmarshal ¶
type LikeReq ¶
type LikeReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"required"` UpMid int64 `protobuf:"varint,2,opt,name=up_mid,json=upMid,proto3" json:"up_mid,omitempty" form:"up_mid" validate:"required"` Opid int64 `protobuf:"varint,3,opt,name=opid,proto3" json:"opid,omitempty" form:"opid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
//////////////////////////////Like Service/////////////////////////////////
func (*LikeReq) Descriptor ¶
func (*LikeReq) ProtoMessage ¶
func (*LikeReq) ProtoMessage()
func (*LikeReq) XXX_DiscardUnknown ¶
func (m *LikeReq) XXX_DiscardUnknown()
func (*LikeReq) XXX_Marshal ¶
func (*LikeReq) XXX_Unmarshal ¶
type LikeSv ¶
type LikeSv struct { Svid int64 `protobuf:"varint,1,opt,name=svid,proto3" json:"svid"` CursorValue string `protobuf:"bytes,2,opt,name=cursor_value,json=cursorValue,proto3" json:"cursor_value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LikeSv) Descriptor ¶
func (*LikeSv) ProtoMessage ¶
func (*LikeSv) ProtoMessage()
func (*LikeSv) XXX_DiscardUnknown ¶
func (m *LikeSv) XXX_DiscardUnknown()
func (*LikeSv) XXX_Marshal ¶
func (*LikeSv) XXX_Unmarshal ¶
type ListRelationReply ¶
type ListRelationReply struct { List []int64 `protobuf:"varint,1,rep,packed,name=list" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRelationReply) Descriptor ¶
func (*ListRelationReply) Descriptor() ([]byte, []int)
func (*ListRelationReply) Marshal ¶
func (m *ListRelationReply) Marshal() (dAtA []byte, err error)
func (*ListRelationReply) MarshalTo ¶
func (m *ListRelationReply) MarshalTo(dAtA []byte) (int, error)
func (*ListRelationReply) ProtoMessage ¶
func (*ListRelationReply) ProtoMessage()
func (*ListRelationReply) Reset ¶
func (m *ListRelationReply) Reset()
func (*ListRelationReply) Size ¶
func (m *ListRelationReply) Size() (n int)
func (*ListRelationReply) String ¶
func (m *ListRelationReply) String() string
func (*ListRelationReply) Unmarshal ¶
func (m *ListRelationReply) Unmarshal(dAtA []byte) error
func (*ListRelationReply) XXX_DiscardUnknown ¶
func (m *ListRelationReply) XXX_DiscardUnknown()
func (*ListRelationReply) XXX_Marshal ¶
func (m *ListRelationReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRelationReply) XXX_Merge ¶
func (dst *ListRelationReply) XXX_Merge(src proto.Message)
func (*ListRelationReply) XXX_Size ¶
func (m *ListRelationReply) XXX_Size() int
func (*ListRelationReply) XXX_Unmarshal ¶
func (m *ListRelationReply) XXX_Unmarshal(b []byte) error
type ListRelationReq ¶
type ListRelationReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRelationReq) Descriptor ¶
func (*ListRelationReq) Descriptor() ([]byte, []int)
func (*ListRelationReq) Marshal ¶
func (m *ListRelationReq) Marshal() (dAtA []byte, err error)
func (*ListRelationReq) ProtoMessage ¶
func (*ListRelationReq) ProtoMessage()
func (*ListRelationReq) Reset ¶
func (m *ListRelationReq) Reset()
func (*ListRelationReq) Size ¶
func (m *ListRelationReq) Size() (n int)
func (*ListRelationReq) String ¶
func (m *ListRelationReq) String() string
func (*ListRelationReq) Unmarshal ¶
func (m *ListRelationReq) Unmarshal(dAtA []byte) error
func (*ListRelationReq) XXX_DiscardUnknown ¶
func (m *ListRelationReq) XXX_DiscardUnknown()
func (*ListRelationReq) XXX_Marshal ¶
func (m *ListRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRelationReq) XXX_Merge ¶
func (dst *ListRelationReq) XXX_Merge(src proto.Message)
func (*ListRelationReq) XXX_Size ¶
func (m *ListRelationReq) XXX_Size() int
func (*ListRelationReq) XXX_Unmarshal ¶
func (m *ListRelationReq) XXX_Unmarshal(b []byte) error
type ListRelationUserInfoReq ¶
type ListRelationUserInfoReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"` UpMid int64 `protobuf:"varint,2,opt,name=up_mid,json=upMid,proto3" json:"up_mid,omitempty" form:"up_mid" validate:"required"` CursorPrev string `protobuf:"bytes,3,opt,name=cursor_prev,json=cursorPrev,proto3" json:"cursor_prev,omitempty" form:"cursor_prev"` CursorNext string `protobuf:"bytes,4,opt,name=cursor_next,json=cursorNext,proto3" json:"cursor_next,omitempty" form:"cursor_next"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
//////////////////////////////Relation Service/////////////////////////////////
func (*ListRelationUserInfoReq) Descriptor ¶
func (*ListRelationUserInfoReq) Descriptor() ([]byte, []int)
func (*ListRelationUserInfoReq) Marshal ¶
func (m *ListRelationUserInfoReq) Marshal() (dAtA []byte, err error)
func (*ListRelationUserInfoReq) MarshalTo ¶
func (m *ListRelationUserInfoReq) MarshalTo(dAtA []byte) (int, error)
func (*ListRelationUserInfoReq) ProtoMessage ¶
func (*ListRelationUserInfoReq) ProtoMessage()
func (*ListRelationUserInfoReq) Reset ¶
func (m *ListRelationUserInfoReq) Reset()
func (*ListRelationUserInfoReq) Size ¶
func (m *ListRelationUserInfoReq) Size() (n int)
func (*ListRelationUserInfoReq) String ¶
func (m *ListRelationUserInfoReq) String() string
func (*ListRelationUserInfoReq) Unmarshal ¶
func (m *ListRelationUserInfoReq) Unmarshal(dAtA []byte) error
func (*ListRelationUserInfoReq) XXX_DiscardUnknown ¶
func (m *ListRelationUserInfoReq) XXX_DiscardUnknown()
func (*ListRelationUserInfoReq) XXX_Marshal ¶
func (m *ListRelationUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRelationUserInfoReq) XXX_Merge ¶
func (dst *ListRelationUserInfoReq) XXX_Merge(src proto.Message)
func (*ListRelationUserInfoReq) XXX_Size ¶
func (m *ListRelationUserInfoReq) XXX_Size() int
func (*ListRelationUserInfoReq) XXX_Unmarshal ¶
func (m *ListRelationUserInfoReq) XXX_Unmarshal(b []byte) error
type ListUserInfoConf ¶
type ListUserInfoConf struct { // 是否需要用户信息数组,如区域、性别的字符串化 NeedDesc bool `protobuf:"varint,1,opt,name=need_desc,json=needDesc,proto3" json:"need_desc,omitempty" form:"need_desc"` // 用户统计信息UserStat NeedStat bool `protobuf:"varint,2,opt,name=need_stat,json=needStat,proto3" json:"need_stat,omitempty" form:"need_stat"` // 用户关注信息是否需要 NeedFollowState bool `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
获取UserInfo的配置,默认是只有UserBase的
func (*ListUserInfoConf) Descriptor ¶
func (*ListUserInfoConf) Descriptor() ([]byte, []int)
func (*ListUserInfoConf) Marshal ¶
func (m *ListUserInfoConf) Marshal() (dAtA []byte, err error)
func (*ListUserInfoConf) ProtoMessage ¶
func (*ListUserInfoConf) ProtoMessage()
func (*ListUserInfoConf) Reset ¶
func (m *ListUserInfoConf) Reset()
func (*ListUserInfoConf) Size ¶
func (m *ListUserInfoConf) Size() (n int)
func (*ListUserInfoConf) String ¶
func (m *ListUserInfoConf) String() string
func (*ListUserInfoConf) Unmarshal ¶
func (m *ListUserInfoConf) Unmarshal(dAtA []byte) error
func (*ListUserInfoConf) XXX_DiscardUnknown ¶
func (m *ListUserInfoConf) XXX_DiscardUnknown()
func (*ListUserInfoConf) XXX_Marshal ¶
func (m *ListUserInfoConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserInfoConf) XXX_Merge ¶
func (dst *ListUserInfoConf) XXX_Merge(src proto.Message)
func (*ListUserInfoConf) XXX_Size ¶
func (m *ListUserInfoConf) XXX_Size() int
func (*ListUserInfoConf) XXX_Unmarshal ¶
func (m *ListUserInfoConf) XXX_Unmarshal(b []byte) error
type ListUserInfoReply ¶
type ListUserInfoReply struct { HasMore bool `protobuf:"varint,1,opt,name=has_more,json=hasMore,proto3" json:"has_more"` List []*UserInfo `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserInfoReply) Descriptor ¶
func (*ListUserInfoReply) Descriptor() ([]byte, []int)
func (*ListUserInfoReply) Marshal ¶
func (m *ListUserInfoReply) Marshal() (dAtA []byte, err error)
func (*ListUserInfoReply) MarshalTo ¶
func (m *ListUserInfoReply) MarshalTo(dAtA []byte) (int, error)
func (*ListUserInfoReply) ProtoMessage ¶
func (*ListUserInfoReply) ProtoMessage()
func (*ListUserInfoReply) Reset ¶
func (m *ListUserInfoReply) Reset()
func (*ListUserInfoReply) Size ¶
func (m *ListUserInfoReply) Size() (n int)
func (*ListUserInfoReply) String ¶
func (m *ListUserInfoReply) String() string
func (*ListUserInfoReply) Unmarshal ¶
func (m *ListUserInfoReply) Unmarshal(dAtA []byte) error
func (*ListUserInfoReply) XXX_DiscardUnknown ¶
func (m *ListUserInfoReply) XXX_DiscardUnknown()
func (*ListUserInfoReply) XXX_Marshal ¶
func (m *ListUserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserInfoReply) XXX_Merge ¶
func (dst *ListUserInfoReply) XXX_Merge(src proto.Message)
func (*ListUserInfoReply) XXX_Size ¶
func (m *ListUserInfoReply) XXX_Size() int
func (*ListUserInfoReply) XXX_Unmarshal ¶
func (m *ListUserInfoReply) XXX_Unmarshal(b []byte) error
type ListUserInfoReq ¶
type ListUserInfoReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"` UpMid []int64 `protobuf:"varint,2,rep,packed,name=up_mid,json=upMid" json:"up_mid,omitempty" form:"up_mid,omitempty" validate:"required"` // 是否需要用户信息数组,如区域、性别的字符串化 NeedDesc bool `protobuf:"varint,3,opt,name=need_desc,json=needDesc,proto3" json:"need_desc,omitempty" form:"need_desc"` // 用户统计信息UserStat NeedStat bool `protobuf:"varint,4,opt,name=need_stat,json=needStat,proto3" json:"need_stat,omitempty" form:"need_stat"` // 用户关注信息是否需要 NeedFollowState bool `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
//////////////////////////////User Service/////////////////////////////////
func (*ListUserInfoReq) Descriptor ¶
func (*ListUserInfoReq) Descriptor() ([]byte, []int)
func (*ListUserInfoReq) Marshal ¶
func (m *ListUserInfoReq) Marshal() (dAtA []byte, err error)
func (*ListUserInfoReq) ProtoMessage ¶
func (*ListUserInfoReq) ProtoMessage()
func (*ListUserInfoReq) Reset ¶
func (m *ListUserInfoReq) Reset()
func (*ListUserInfoReq) Size ¶
func (m *ListUserInfoReq) Size() (n int)
func (*ListUserInfoReq) String ¶
func (m *ListUserInfoReq) String() string
func (*ListUserInfoReq) Unmarshal ¶
func (m *ListUserInfoReq) Unmarshal(dAtA []byte) error
func (*ListUserInfoReq) XXX_DiscardUnknown ¶
func (m *ListUserInfoReq) XXX_DiscardUnknown()
func (*ListUserInfoReq) XXX_Marshal ¶
func (m *ListUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserInfoReq) XXX_Merge ¶
func (dst *ListUserInfoReq) XXX_Merge(src proto.Message)
func (*ListUserInfoReq) XXX_Size ¶
func (m *ListUserInfoReq) XXX_Size() int
func (*ListUserInfoReq) XXX_Unmarshal ¶
func (m *ListUserInfoReq) XXX_Unmarshal(b []byte) error
type ListUserLikeReply ¶
type ListUserLikeReply struct { HasMore bool `protobuf:"varint,1,opt,name=has_more,json=hasMore,proto3" json:"has_more"` List []*LikeSv `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserLikeReply) Descriptor ¶
func (*ListUserLikeReply) Descriptor() ([]byte, []int)
func (*ListUserLikeReply) Marshal ¶
func (m *ListUserLikeReply) Marshal() (dAtA []byte, err error)
func (*ListUserLikeReply) MarshalTo ¶
func (m *ListUserLikeReply) MarshalTo(dAtA []byte) (int, error)
func (*ListUserLikeReply) ProtoMessage ¶
func (*ListUserLikeReply) ProtoMessage()
func (*ListUserLikeReply) Reset ¶
func (m *ListUserLikeReply) Reset()
func (*ListUserLikeReply) Size ¶
func (m *ListUserLikeReply) Size() (n int)
func (*ListUserLikeReply) String ¶
func (m *ListUserLikeReply) String() string
func (*ListUserLikeReply) Unmarshal ¶
func (m *ListUserLikeReply) Unmarshal(dAtA []byte) error
func (*ListUserLikeReply) XXX_DiscardUnknown ¶
func (m *ListUserLikeReply) XXX_DiscardUnknown()
func (*ListUserLikeReply) XXX_Marshal ¶
func (m *ListUserLikeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserLikeReply) XXX_Merge ¶
func (dst *ListUserLikeReply) XXX_Merge(src proto.Message)
func (*ListUserLikeReply) XXX_Size ¶
func (m *ListUserLikeReply) XXX_Size() int
func (*ListUserLikeReply) XXX_Unmarshal ¶
func (m *ListUserLikeReply) XXX_Unmarshal(b []byte) error
type ListUserLikeReq ¶
type ListUserLikeReq struct { // int64 mid = 1 [(gogoproto.moretags)='form:"mid"']; UpMid int64 `protobuf:"varint,2,opt,name=up_mid,json=upMid,proto3" json:"up_mid,omitempty" form:"up_mid" validate:"required"` CursorPrev string `protobuf:"bytes,3,opt,name=cursor_prev,json=cursorPrev,proto3" json:"cursor_prev,omitempty" form:"cursor_prev"` CursorNext string `protobuf:"bytes,4,opt,name=cursor_next,json=cursorNext,proto3" json:"cursor_next,omitempty" form:"cursor_next"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserLikeReq) Descriptor ¶
func (*ListUserLikeReq) Descriptor() ([]byte, []int)
func (*ListUserLikeReq) Marshal ¶
func (m *ListUserLikeReq) Marshal() (dAtA []byte, err error)
func (*ListUserLikeReq) ProtoMessage ¶
func (*ListUserLikeReq) ProtoMessage()
func (*ListUserLikeReq) Reset ¶
func (m *ListUserLikeReq) Reset()
func (*ListUserLikeReq) Size ¶
func (m *ListUserLikeReq) Size() (n int)
func (*ListUserLikeReq) String ¶
func (m *ListUserLikeReq) String() string
func (*ListUserLikeReq) Unmarshal ¶
func (m *ListUserLikeReq) Unmarshal(dAtA []byte) error
func (*ListUserLikeReq) XXX_DiscardUnknown ¶
func (m *ListUserLikeReq) XXX_DiscardUnknown()
func (*ListUserLikeReq) XXX_Marshal ¶
func (m *ListUserLikeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserLikeReq) XXX_Merge ¶
func (dst *ListUserLikeReq) XXX_Merge(src proto.Message)
func (*ListUserLikeReq) XXX_Size ¶
func (m *ListUserLikeReq) XXX_Size() int
func (*ListUserLikeReq) XXX_Unmarshal ¶
func (m *ListUserLikeReq) XXX_Unmarshal(b []byte) error
type LocationItem ¶
type LocationItem struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` Child []*LocationItem `protobuf:"bytes,4,rep,name=child" json:"child,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocationItem) Descriptor ¶
func (*LocationItem) Descriptor() ([]byte, []int)
func (*LocationItem) Marshal ¶
func (m *LocationItem) Marshal() (dAtA []byte, err error)
func (*LocationItem) ProtoMessage ¶
func (*LocationItem) ProtoMessage()
func (*LocationItem) Reset ¶
func (m *LocationItem) Reset()
func (*LocationItem) Size ¶
func (m *LocationItem) Size() (n int)
func (*LocationItem) String ¶
func (m *LocationItem) String() string
func (*LocationItem) Unmarshal ¶
func (m *LocationItem) Unmarshal(dAtA []byte) error
func (*LocationItem) XXX_DiscardUnknown ¶
func (m *LocationItem) XXX_DiscardUnknown()
func (*LocationItem) XXX_Marshal ¶
func (m *LocationItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocationItem) XXX_Merge ¶
func (dst *LocationItem) XXX_Merge(src proto.Message)
func (*LocationItem) XXX_Size ¶
func (m *LocationItem) XXX_Size() int
func (*LocationItem) XXX_Unmarshal ¶
func (m *LocationItem) XXX_Unmarshal(b []byte) error
type ModifyRelationReply ¶
type ModifyRelationReply struct { FollowState int8 `protobuf:"varint,1,opt,name=follow_state,json=followState,proto3,casttype=int8" json:"follow_state"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyRelationReply) Descriptor ¶
func (*ModifyRelationReply) Descriptor() ([]byte, []int)
func (*ModifyRelationReply) Marshal ¶
func (m *ModifyRelationReply) Marshal() (dAtA []byte, err error)
func (*ModifyRelationReply) MarshalTo ¶
func (m *ModifyRelationReply) MarshalTo(dAtA []byte) (int, error)
func (*ModifyRelationReply) ProtoMessage ¶
func (*ModifyRelationReply) ProtoMessage()
func (*ModifyRelationReply) Reset ¶
func (m *ModifyRelationReply) Reset()
func (*ModifyRelationReply) Size ¶
func (m *ModifyRelationReply) Size() (n int)
func (*ModifyRelationReply) String ¶
func (m *ModifyRelationReply) String() string
func (*ModifyRelationReply) Unmarshal ¶
func (m *ModifyRelationReply) Unmarshal(dAtA []byte) error
func (*ModifyRelationReply) XXX_DiscardUnknown ¶
func (m *ModifyRelationReply) XXX_DiscardUnknown()
func (*ModifyRelationReply) XXX_Marshal ¶
func (m *ModifyRelationReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyRelationReply) XXX_Merge ¶
func (dst *ModifyRelationReply) XXX_Merge(src proto.Message)
func (*ModifyRelationReply) XXX_Size ¶
func (m *ModifyRelationReply) XXX_Size() int
func (*ModifyRelationReply) XXX_Unmarshal ¶
func (m *ModifyRelationReply) XXX_Unmarshal(b []byte) error
type ModifyRelationReq ¶
type ModifyRelationReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"required"` UpMid int64 `protobuf:"varint,2,opt,name=up_mid,json=upMid,proto3" json:"up_mid,omitempty" form:"up_mid" validate:"required"` Action int32 `protobuf:"varint,3,opt,name=action,proto3" json:"action,omitempty" form:"action" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyRelationReq) Descriptor ¶
func (*ModifyRelationReq) Descriptor() ([]byte, []int)
func (*ModifyRelationReq) Marshal ¶
func (m *ModifyRelationReq) Marshal() (dAtA []byte, err error)
func (*ModifyRelationReq) MarshalTo ¶
func (m *ModifyRelationReq) MarshalTo(dAtA []byte) (int, error)
func (*ModifyRelationReq) ProtoMessage ¶
func (*ModifyRelationReq) ProtoMessage()
func (*ModifyRelationReq) Reset ¶
func (m *ModifyRelationReq) Reset()
func (*ModifyRelationReq) Size ¶
func (m *ModifyRelationReq) Size() (n int)
func (*ModifyRelationReq) String ¶
func (m *ModifyRelationReq) String() string
func (*ModifyRelationReq) Unmarshal ¶
func (m *ModifyRelationReq) Unmarshal(dAtA []byte) error
func (*ModifyRelationReq) XXX_DiscardUnknown ¶
func (m *ModifyRelationReq) XXX_DiscardUnknown()
func (*ModifyRelationReq) XXX_Marshal ¶
func (m *ModifyRelationReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyRelationReq) XXX_Merge ¶
func (dst *ModifyRelationReq) XXX_Merge(src proto.Message)
func (*ModifyRelationReq) XXX_Size ¶
func (m *ModifyRelationReq) XXX_Size() int
func (*ModifyRelationReq) XXX_Unmarshal ¶
func (m *ModifyRelationReq) XXX_Unmarshal(b []byte) error
type PhoneCheckReply ¶
type PhoneCheckReply struct { TelStatus int32 `protobuf:"varint,2,opt,name=tel_status,json=telStatus,proto3" json:"tel_status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PhoneCheckReply) Descriptor ¶
func (*PhoneCheckReply) Descriptor() ([]byte, []int)
func (*PhoneCheckReply) Marshal ¶
func (m *PhoneCheckReply) Marshal() (dAtA []byte, err error)
func (*PhoneCheckReply) ProtoMessage ¶
func (*PhoneCheckReply) ProtoMessage()
func (*PhoneCheckReply) Reset ¶
func (m *PhoneCheckReply) Reset()
func (*PhoneCheckReply) Size ¶
func (m *PhoneCheckReply) Size() (n int)
func (*PhoneCheckReply) String ¶
func (m *PhoneCheckReply) String() string
func (*PhoneCheckReply) Unmarshal ¶
func (m *PhoneCheckReply) Unmarshal(dAtA []byte) error
func (*PhoneCheckReply) XXX_DiscardUnknown ¶
func (m *PhoneCheckReply) XXX_DiscardUnknown()
func (*PhoneCheckReply) XXX_Marshal ¶
func (m *PhoneCheckReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PhoneCheckReply) XXX_Merge ¶
func (dst *PhoneCheckReply) XXX_Merge(src proto.Message)
func (*PhoneCheckReply) XXX_Size ¶
func (m *PhoneCheckReply) XXX_Size() int
func (*PhoneCheckReply) XXX_Unmarshal ¶
func (m *PhoneCheckReply) XXX_Unmarshal(b []byte) error
type PhoneCheckReq ¶
type PhoneCheckReq struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PhoneCheckReq) Descriptor ¶
func (*PhoneCheckReq) Descriptor() ([]byte, []int)
func (*PhoneCheckReq) Marshal ¶
func (m *PhoneCheckReq) Marshal() (dAtA []byte, err error)
func (*PhoneCheckReq) ProtoMessage ¶
func (*PhoneCheckReq) ProtoMessage()
func (*PhoneCheckReq) Reset ¶
func (m *PhoneCheckReq) Reset()
func (*PhoneCheckReq) Size ¶
func (m *PhoneCheckReq) Size() (n int)
func (*PhoneCheckReq) String ¶
func (m *PhoneCheckReq) String() string
func (*PhoneCheckReq) Unmarshal ¶
func (m *PhoneCheckReq) Unmarshal(dAtA []byte) error
func (*PhoneCheckReq) XXX_DiscardUnknown ¶
func (m *PhoneCheckReq) XXX_DiscardUnknown()
func (*PhoneCheckReq) XXX_Marshal ¶
func (m *PhoneCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PhoneCheckReq) XXX_Merge ¶
func (dst *PhoneCheckReq) XXX_Merge(src proto.Message)
func (*PhoneCheckReq) XXX_Size ¶
func (m *PhoneCheckReq) XXX_Size() int
func (*PhoneCheckReq) XXX_Unmarshal ¶
func (m *PhoneCheckReq) XXX_Unmarshal(b []byte) error
type ReleaseRequest ¶
type ReleaseRequest struct {
MID uint64 `json:"mid" form:"mid" validate:"required,gt=0"`
}
ReleaseRequest ..
type UserBase ¶
type UserBase struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid" form:"mid"` Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname" form:"uname"` Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face" form:"face"` Birthday string `protobuf:"bytes,4,opt,name=birthday,proto3" json:"birthday" form:"birthday"` Exp int64 `protobuf:"varint,5,opt,name=exp,proto3" json:"exp,omitempty" form:"exp"` Level int64 `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty" form:"level"` Ctime go_common_library_time.Time `protobuf:"varint,7,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime,omitempty"` Mtime go_common_library_time.Time `protobuf:"varint,8,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"` Sex int8 `protobuf:"varint,9,opt,name=sex,proto3,casttype=int8" json:"sex" form:"sex"` Region int64 `protobuf:"varint,10,opt,name=region,proto3" json:"region" form:"region"` Signature string `protobuf:"bytes,11,opt,name=signature,proto3" json:"signature" form:"signature"` UserType int8 `protobuf:"varint,12,opt,name=user_type,json=userType,proto3,casttype=int8" json:"user_type"` CompleteDegree int8 `protobuf:"varint,13,opt,name=complete_degree,json=completeDegree,proto3,casttype=int8" json:"complete_degree"` NewTag int8 `protobuf:"varint,14,opt,name=new_tag,json=newTag,proto3,casttype=int8" json:"new_tag" form:"new_tag"` RegionName string `protobuf:"bytes,21,opt,name=region_name,json=regionName,proto3" json:"region_name"` UserDesc []string `protobuf:"bytes,22,rep,name=user_desc,json=userDesc" json:"user_desc,omitempty"` FaceUptime string `protobuf:"bytes,23,opt,name=face_uptime,json=faceUptime,proto3" json:"face_uptime" form:"uptime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
//////////////////////////////UserInfo/////////////////////////////////
func (*UserBase) Descriptor ¶
func (*UserBase) ProtoMessage ¶
func (*UserBase) ProtoMessage()
func (*UserBase) XXX_DiscardUnknown ¶
func (m *UserBase) XXX_DiscardUnknown()
func (*UserBase) XXX_Marshal ¶
func (*UserBase) XXX_Unmarshal ¶
type UserClient ¶
type UserClient interface { Login(ctx context.Context, in *UserBase, opts ...grpc.CallOption) (*UserBase, error) PhoneCheck(ctx context.Context, in *PhoneCheckReq, opts ...grpc.CallOption) (*PhoneCheckReply, error) UserEdit(ctx context.Context, in *UserBase, opts ...grpc.CallOption) (*empty.Empty, error) ListUserInfo(ctx context.Context, in *ListUserInfoReq, opts ...grpc.CallOption) (*ListUserInfoReply, error) // ///////////like///////////// AddLike(ctx context.Context, in *LikeReq, opts ...grpc.CallOption) (*LikeReply, error) CancelLike(ctx context.Context, in *LikeReq, opts ...grpc.CallOption) (*LikeReply, error) ListUserLike(ctx context.Context, in *ListUserLikeReq, opts ...grpc.CallOption) (*ListUserLikeReply, error) IsLike(ctx context.Context, in *IsLikeReq, opts ...grpc.CallOption) (*IsLikeReply, error) // //////////Relation/////////// ModifyRelation(ctx context.Context, in *ModifyRelationReq, opts ...grpc.CallOption) (*ModifyRelationReply, error) // 返回UserInfo的列表,分页 ListFollowUserInfo(ctx context.Context, in *ListRelationUserInfoReq, opts ...grpc.CallOption) (*ListUserInfoReply, error) ListFanUserInfo(ctx context.Context, in *ListRelationUserInfoReq, opts ...grpc.CallOption) (*ListUserInfoReply, error) ListBlackUserInfo(ctx context.Context, in *ListRelationUserInfoReq, opts ...grpc.CallOption) (*ListUserInfoReply, error) // 仅仅返回全部mid列表,不包含UserInfo ListFollow(ctx context.Context, in *ListRelationReq, opts ...grpc.CallOption) (*ListRelationReply, error) ListBlack(ctx context.Context, in *ListRelationReq, opts ...grpc.CallOption) (*ListRelationReply, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc *grpc.ClientConn) UserClient
type UserInfo ¶
type UserInfo struct { UserBase *UserBase `protobuf:"bytes,1,opt,name=user_base,json=userBase" json:"user_base,omitempty"` UserStat *UserStat `protobuf:"bytes,2,opt,name=user_stat,json=userStat" json:"user_stat,omitempty"` FollowState int8 `protobuf:"varint,3,opt,name=follow_state,json=followState,proto3,casttype=int8" json:"follow_state"` CursorValue string `protobuf:"bytes,4,opt,name=cursor_value,json=cursorValue,proto3" json:"cursor_value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserInfo) Descriptor ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) XXX_DiscardUnknown ¶
func (m *UserInfo) XXX_DiscardUnknown()
func (*UserInfo) XXX_Marshal ¶
func (*UserInfo) XXX_Unmarshal ¶
type UserServer ¶
type UserServer interface { Login(context.Context, *UserBase) (*UserBase, error) PhoneCheck(context.Context, *PhoneCheckReq) (*PhoneCheckReply, error) UserEdit(context.Context, *UserBase) (*empty.Empty, error) ListUserInfo(context.Context, *ListUserInfoReq) (*ListUserInfoReply, error) // ///////////like///////////// AddLike(context.Context, *LikeReq) (*LikeReply, error) CancelLike(context.Context, *LikeReq) (*LikeReply, error) ListUserLike(context.Context, *ListUserLikeReq) (*ListUserLikeReply, error) IsLike(context.Context, *IsLikeReq) (*IsLikeReply, error) // //////////Relation/////////// ModifyRelation(context.Context, *ModifyRelationReq) (*ModifyRelationReply, error) // 返回UserInfo的列表,分页 ListFollowUserInfo(context.Context, *ListRelationUserInfoReq) (*ListUserInfoReply, error) ListFanUserInfo(context.Context, *ListRelationUserInfoReq) (*ListUserInfoReply, error) ListBlackUserInfo(context.Context, *ListRelationUserInfoReq) (*ListUserInfoReply, error) // 仅仅返回全部mid列表,不包含UserInfo ListFollow(context.Context, *ListRelationReq) (*ListRelationReply, error) ListBlack(context.Context, *ListRelationReq) (*ListRelationReply, error) }
UserServer is the server API for User service.
type UserStat ¶
type UserStat struct { Sv int64 `protobuf:"varint,1,opt,name=sv,proto3" json:"sv"` Like int64 `protobuf:"varint,2,opt,name=like,proto3" json:"like"` Liked int64 `protobuf:"varint,3,opt,name=liked,proto3" json:"liked"` Follow int64 `protobuf:"varint,4,opt,name=follow,proto3" json:"follow"` Fan int64 `protobuf:"varint,5,opt,name=fan,proto3" json:"fan"` Black int64 `protobuf:"varint,6,opt,name=black,proto3" json:"black"` View int64 `protobuf:"varint,7,opt,name=view,proto3" json:"view"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserStat) Descriptor ¶
func (*UserStat) ProtoMessage ¶
func (*UserStat) ProtoMessage()
func (*UserStat) XXX_DiscardUnknown ¶
func (m *UserStat) XXX_DiscardUnknown()
func (*UserStat) XXX_Marshal ¶
func (*UserStat) XXX_Unmarshal ¶
type UserVideoView ¶
type UserVideoView struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"` Views int64 `protobuf:"varint,2,opt,name=views,proto3" json:"views,omitempty" form:"views"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserVideoView) Descriptor ¶
func (*UserVideoView) Descriptor() ([]byte, []int)
func (*UserVideoView) Marshal ¶
func (m *UserVideoView) Marshal() (dAtA []byte, err error)
func (*UserVideoView) ProtoMessage ¶
func (*UserVideoView) ProtoMessage()
func (*UserVideoView) Reset ¶
func (m *UserVideoView) Reset()
func (*UserVideoView) Size ¶
func (m *UserVideoView) Size() (n int)
func (*UserVideoView) String ¶
func (m *UserVideoView) String() string
func (*UserVideoView) Unmarshal ¶
func (m *UserVideoView) Unmarshal(dAtA []byte) error
func (*UserVideoView) XXX_DiscardUnknown ¶
func (m *UserVideoView) XXX_DiscardUnknown()
func (*UserVideoView) XXX_Marshal ¶
func (m *UserVideoView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserVideoView) XXX_Merge ¶
func (dst *UserVideoView) XXX_Merge(src proto.Message)
func (*UserVideoView) XXX_Size ¶
func (m *UserVideoView) XXX_Size() int
func (*UserVideoView) XXX_Unmarshal ¶
func (m *UserVideoView) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.