Documentation ¶
Index ¶
- Constants
- Variables
- func Attr(attribute uint32) uint32
- func SetAttr(attribute uint32, mask uint32) uint32
- func UnsetAttr(attribute uint32, mask uint32) uint32
- type Achieve
- type AchieveFlag
- type AchieveGetReply
- type ArgAchieve
- type ArgAchieveGet
- type ArgFollowing
- type ArgMid
- type ArgMids
- type ArgPrompt
- type ArgRelation
- type ArgRelations
- type ArgSameFollowing
- type ArgTag
- type ArgTagDel
- type ArgTagId
- type ArgTagUpdate
- type ArgTagsMoveUsers
- type Audit
- type FollowerNotifySetting
- type Following
- func (f *Following) Black() bool
- func (*Following) Descriptor() ([]byte, []int)
- func (f *Following) Following() bool
- func (f *Following) Friend() bool
- func (m *Following) Marshal() (dAtA []byte, err error)
- func (m *Following) MarshalTo(dAtA []byte) (int, error)
- func (*Following) ProtoMessage()
- func (m *Following) Reset()
- func (m *Following) Size() (n int)
- func (m *Following) String() string
- func (m *Following) Unmarshal(dAtA []byte) error
- func (f *Following) Whisper() bool
- func (m *Following) XXX_DiscardUnknown()
- func (m *Following) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Following) XXX_Merge(src proto.Message)
- func (m *Following) XXX_Size() int
- func (m *Following) XXX_Unmarshal(b []byte) error
- type FollowingList
- func (*FollowingList) Descriptor() ([]byte, []int)
- func (m *FollowingList) Marshal() (dAtA []byte, err error)
- func (m *FollowingList) MarshalTo(dAtA []byte) (int, error)
- func (*FollowingList) ProtoMessage()
- func (m *FollowingList) Reset()
- func (m *FollowingList) Size() (n int)
- func (m *FollowingList) String() string
- func (m *FollowingList) Unmarshal(dAtA []byte) error
- func (m *FollowingList) XXX_DiscardUnknown()
- func (m *FollowingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FollowingList) XXX_Merge(src proto.Message)
- func (m *FollowingList) XXX_Size() int
- func (m *FollowingList) XXX_Unmarshal(b []byte) error
- type FollowingTags
- func (*FollowingTags) Descriptor() ([]byte, []int)
- func (m *FollowingTags) Marshal() (dAtA []byte, err error)
- func (m *FollowingTags) MarshalTo(dAtA []byte) (int, error)
- func (*FollowingTags) ProtoMessage()
- func (m *FollowingTags) Reset()
- func (m *FollowingTags) Size() (n int)
- func (m *FollowingTags) String() string
- func (m *FollowingTags) Unmarshal(dAtA []byte) error
- func (m *FollowingTags) XXX_DiscardUnknown()
- func (m *FollowingTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FollowingTags) XXX_Merge(src proto.Message)
- func (m *FollowingTags) XXX_Size() int
- func (m *FollowingTags) XXX_Unmarshal(b []byte) error
- type GlobalRec
- func (*GlobalRec) Descriptor() ([]byte, []int)
- func (m *GlobalRec) Marshal() (dAtA []byte, err error)
- func (m *GlobalRec) MarshalTo(dAtA []byte) (int, error)
- func (*GlobalRec) ProtoMessage()
- func (m *GlobalRec) Reset()
- func (m *GlobalRec) Size() (n int)
- func (m *GlobalRec) String() string
- func (m *GlobalRec) Unmarshal(dAtA []byte) error
- func (m *GlobalRec) XXX_DiscardUnknown()
- func (m *GlobalRec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GlobalRec) XXX_Merge(src proto.Message)
- func (m *GlobalRec) XXX_Size() int
- func (m *GlobalRec) XXX_Unmarshal(b []byte) error
- type PassportDetail
- type RelationLog
- func (*RelationLog) Descriptor() ([]byte, []int)
- func (m *RelationLog) Marshal() (dAtA []byte, err error)
- func (m *RelationLog) MarshalTo(dAtA []byte) (int, error)
- func (*RelationLog) ProtoMessage()
- func (m *RelationLog) Reset()
- func (rl *RelationLog) Reverse() *RelationLog
- func (m *RelationLog) Size() (n int)
- func (m *RelationLog) String() string
- func (m *RelationLog) Unmarshal(dAtA []byte) error
- func (m *RelationLog) XXX_DiscardUnknown()
- func (m *RelationLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RelationLog) XXX_Merge(src proto.Message)
- func (m *RelationLog) XXX_Size() int
- func (m *RelationLog) XXX_Unmarshal(b []byte) error
- type SortFollowings
- type Stat
- func (st *Stat) BlackCount() int
- func (st *Stat) Count() int
- func (*Stat) Descriptor() ([]byte, []int)
- func (st *Stat) Empty() bool
- func (st *Stat) Fill(ost *Stat)
- func (m *Stat) Marshal() (dAtA []byte, err error)
- func (m *Stat) MarshalTo(dAtA []byte) (int, error)
- func (*Stat) ProtoMessage()
- func (m *Stat) Reset()
- func (m *Stat) Size() (n int)
- func (m *Stat) String() string
- func (m *Stat) Unmarshal(dAtA []byte) error
- func (m *Stat) XXX_DiscardUnknown()
- func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Stat) XXX_Merge(src proto.Message)
- func (m *Stat) XXX_Size() int
- func (m *Stat) XXX_Unmarshal(b []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) Marshal() (dAtA []byte, err error)
- func (m *Tag) MarshalTo(dAtA []byte) (int, error)
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) Size() (n int)
- func (m *Tag) String() string
- func (m *Tag) Unmarshal(dAtA []byte) error
- func (m *Tag) XXX_DiscardUnknown()
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tag) XXX_Merge(src proto.Message)
- func (m *Tag) XXX_Size() int
- func (m *Tag) XXX_Unmarshal(b []byte) error
- type TagCount
- func (*TagCount) Descriptor() ([]byte, []int)
- func (m *TagCount) Marshal() (dAtA []byte, err error)
- func (m *TagCount) MarshalTo(dAtA []byte) (int, error)
- func (*TagCount) ProtoMessage()
- func (m *TagCount) Reset()
- func (m *TagCount) Size() (n int)
- func (m *TagCount) String() string
- func (m *TagCount) Unmarshal(dAtA []byte) error
- func (m *TagCount) XXX_DiscardUnknown()
- func (m *TagCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagCount) XXX_Merge(src proto.Message)
- func (m *TagCount) XXX_Size() int
- func (m *TagCount) XXX_Unmarshal(b []byte) error
- type TagCountList
- func (*TagCountList) Descriptor() ([]byte, []int)
- func (m *TagCountList) Marshal() (dAtA []byte, err error)
- func (m *TagCountList) MarshalTo(dAtA []byte) (int, error)
- func (*TagCountList) ProtoMessage()
- func (m *TagCountList) Reset()
- func (m *TagCountList) Size() (n int)
- func (m *TagCountList) String() string
- func (m *TagCountList) Unmarshal(dAtA []byte) error
- func (m *TagCountList) XXX_DiscardUnknown()
- func (m *TagCountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagCountList) XXX_Merge(src proto.Message)
- func (m *TagCountList) XXX_Size() int
- func (m *TagCountList) XXX_Unmarshal(b []byte) error
- type TagUser
- func (*TagUser) Descriptor() ([]byte, []int)
- func (m *TagUser) Marshal() (dAtA []byte, err error)
- func (m *TagUser) MarshalTo(dAtA []byte) (int, error)
- func (*TagUser) ProtoMessage()
- func (m *TagUser) Reset()
- func (m *TagUser) Size() (n int)
- func (m *TagUser) String() string
- func (m *TagUser) Unmarshal(dAtA []byte) error
- func (m *TagUser) XXX_DiscardUnknown()
- func (m *TagUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TagUser) XXX_Merge(src proto.Message)
- func (m *TagUser) XXX_Size() int
- func (m *TagUser) XXX_Unmarshal(b []byte) error
- type Tags
- func (*Tags) Descriptor() ([]byte, []int)
- func (m *Tags) Marshal() (dAtA []byte, err error)
- func (m *Tags) MarshalTo(dAtA []byte) (int, error)
- func (*Tags) ProtoMessage()
- func (m *Tags) Reset()
- func (m *Tags) Size() (n int)
- func (m *Tags) String() string
- func (m *Tags) Unmarshal(dAtA []byte) error
- func (m *Tags) XXX_DiscardUnknown()
- func (m *Tags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Tags) XXX_Merge(src proto.Message)
- func (m *Tags) XXX_Size() int
- func (m *Tags) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( AttrNoRelation = uint32(0) AttrWhisper = uint32(1) AttrFollowing = uint32(1) << 1 AttrFriend = uint32(1) << 2 AttrBlack = uint32(1) << 7 // 128,129,130 变为 0 时候,status = 1 StatusOK = 0 StatusDel = 1 )
attribute bit. priority black > following > whisper > no relation.
View Source
const ( ActAddFollowing = int8(1) ActDelFollowing = int8(2) ActAddWhisper = int8(3) ActDelWhisper = int8(4) ActAddBlack = int8(5) ActDelBalck = int8(6) ActDelFollower = int8(7) )
relation act type.
Variables ¶
View Source
var ( EmptyAchieve = AchieveFlag(0) FollowerAchieve1k = AchieveFlag(1 << 0) FollowerAchieve5k = AchieveFlag(1 << 1) FollowerAchieve10k = AchieveFlag(1 << 2) )
const
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
Functions ¶
Types ¶
type AchieveGetReply ¶
type AchieveGetReply struct {
AwardToken string `json:"award_token"`
}
AchieveGetReply is
type ArgAchieve ¶
type ArgAchieve struct {
AwardToken string `form:"award_token" validate:"required"`
}
ArgAchieve is
type ArgAchieveGet ¶
type ArgAchieveGet struct { Award string `form:"award" validate:"required"` Mid int64 `form:"mid" validate:"required"` }
ArgAchieveGet is
type ArgFollowing ¶
type ArgFollowing struct { Mid int64 Fid int64 `json:"fid" form:"fid" validate:"required" params:"fid;Required;Min(1)"` Source uint8 RealIP string Action int8 Infoc map[string]string }
ArgFollowing following
type ArgMid ¶
type ArgMid struct { Mid int64 `json:"mid" form:"mid" validate:"required" params:"mid;Required;Min(1)"` RealIP string }
ArgMid mid
type ArgPrompt ¶
type ArgPrompt struct { Mid int64 `form:"mid" params:"mid"` Fid int64 `form:"fid" validate:"required" params:"fid;Required;Min(1)"` Btype int8 `form:"btype" validate:"required,min=1" params:"btype;Required;Min(1)"` }
ArgPrompt rpc promt arg.
type ArgRelations ¶
ArgRelations relations
type ArgSameFollowing ¶
type ArgSameFollowing struct { Mid1 int64 `json:"mid1" form:"mid1" validate:"required" params:"mid1;Required;Min(1)"` Mid2 int64 `json:"mid2" form:"mid2" validate:"required" params:"mid2;Required;Min(1)"` }
ArgSameFollowing is
type ArgTagUpdate ¶
ArgTagUpdate tag update
type ArgTagsMoveUsers ¶
type ArgTagsMoveUsers struct { Mid int64 BeforeID int64 AfterTagIds string Fids string RealIP string }
ArgTagsMoveUsers tags move users
type Audit ¶
type Audit struct { Mid int64 `json:"mid"` BindTel bool `json:"bind_tel"` BindMail bool `json:"bind_mail"` Rank int64 `json:"rank"` Blocked bool `json:"blocked"` }
Audit member audit info
type FollowerNotifySetting ¶
FollowerNotifySetting show the follower-notify setting state
type Following ¶
type Following struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"` Attribute uint32 `protobuf:"varint,2,opt,name=attribute,proto3" json:"attribute"` Source uint32 `protobuf:"varint,3,opt,name=source,proto3" json:"-"` CTime go_common_library_time.Time `protobuf:"varint,4,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"` MTime go_common_library_time.Time `protobuf:"varint,5,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"` Tag []int64 `protobuf:"varint,6,rep,packed,name=tag,proto3" json:"tag"` Special int32 `protobuf:"varint,7,opt,name=special,proto3" json:"special"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Following) Descriptor ¶
func (*Following) ProtoMessage ¶
func (*Following) ProtoMessage()
func (*Following) XXX_DiscardUnknown ¶
func (m *Following) XXX_DiscardUnknown()
func (*Following) XXX_Marshal ¶
func (*Following) XXX_Unmarshal ¶
type FollowingList ¶
type FollowingList struct { FollowingList []*Following `protobuf:"bytes,1,rep,name=following_list,json=followingList,proto3" json:"following_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FollowingList) Descriptor ¶
func (*FollowingList) Descriptor() ([]byte, []int)
func (*FollowingList) Marshal ¶
func (m *FollowingList) Marshal() (dAtA []byte, err error)
func (*FollowingList) ProtoMessage ¶
func (*FollowingList) ProtoMessage()
func (*FollowingList) Reset ¶
func (m *FollowingList) Reset()
func (*FollowingList) Size ¶
func (m *FollowingList) Size() (n int)
func (*FollowingList) String ¶
func (m *FollowingList) String() string
func (*FollowingList) Unmarshal ¶
func (m *FollowingList) Unmarshal(dAtA []byte) error
func (*FollowingList) XXX_DiscardUnknown ¶
func (m *FollowingList) XXX_DiscardUnknown()
func (*FollowingList) XXX_Marshal ¶
func (m *FollowingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowingList) XXX_Merge ¶
func (dst *FollowingList) XXX_Merge(src proto.Message)
func (*FollowingList) XXX_Size ¶
func (m *FollowingList) XXX_Size() int
func (*FollowingList) XXX_Unmarshal ¶
func (m *FollowingList) XXX_Unmarshal(b []byte) error
type FollowingTags ¶
type FollowingTags struct { Attr uint32 `protobuf:"varint,1,opt,name=attr,proto3" json:"attr"` Ts go_common_library_time.Time `protobuf:"varint,2,opt,name=ts,proto3,casttype=go-common/library/time.Time" json:"ts"` TagIds []int64 `protobuf:"varint,3,rep,packed,name=tag_ids,json=tagIds,proto3" json:"tag"` Special int32 `protobuf:"varint,4,opt,name=special,proto3" json:"special"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FollowingTags) Descriptor ¶
func (*FollowingTags) Descriptor() ([]byte, []int)
func (*FollowingTags) Marshal ¶
func (m *FollowingTags) Marshal() (dAtA []byte, err error)
func (*FollowingTags) ProtoMessage ¶
func (*FollowingTags) ProtoMessage()
func (*FollowingTags) Reset ¶
func (m *FollowingTags) Reset()
func (*FollowingTags) Size ¶
func (m *FollowingTags) Size() (n int)
func (*FollowingTags) String ¶
func (m *FollowingTags) String() string
func (*FollowingTags) Unmarshal ¶
func (m *FollowingTags) Unmarshal(dAtA []byte) error
func (*FollowingTags) XXX_DiscardUnknown ¶
func (m *FollowingTags) XXX_DiscardUnknown()
func (*FollowingTags) XXX_Marshal ¶
func (m *FollowingTags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FollowingTags) XXX_Merge ¶
func (dst *FollowingTags) XXX_Merge(src proto.Message)
func (*FollowingTags) XXX_Size ¶
func (m *FollowingTags) XXX_Size() int
func (*FollowingTags) XXX_Unmarshal ¶
func (m *FollowingTags) XXX_Unmarshal(b []byte) error
type GlobalRec ¶
type GlobalRec struct { Fids []int64 `protobuf:"varint,1,rep,packed,name=fids,proto3" json:"fids"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GlobalRec) Descriptor ¶
func (*GlobalRec) ProtoMessage ¶
func (*GlobalRec) ProtoMessage()
func (*GlobalRec) XXX_DiscardUnknown ¶
func (m *GlobalRec) XXX_DiscardUnknown()
func (*GlobalRec) XXX_Marshal ¶
func (*GlobalRec) XXX_Unmarshal ¶
type PassportDetail ¶
type PassportDetail struct { Mid int64 `json:"mid"` Email string `json:"email"` Phone string `json:"telphone"` Spacesta int8 `json:"spacesta"` JoinTime int64 `json:"join_time"` }
PassportDetail passportDetail
type RelationLog ¶
type RelationLog struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"` Fid int64 `protobuf:"varint,2,opt,name=fid,proto3" json:"fid"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts"` Source uint32 `protobuf:"varint,4,opt,name=source,proto3" json:"source"` Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip"` Buvid string `protobuf:"bytes,6,opt,name=buvid,proto3" json:"buvid"` FromAttr uint32 `protobuf:"varint,7,opt,name=from_attr,json=fromAttr,proto3" json:"from_attr"` ToAttr uint32 `protobuf:"varint,8,opt,name=to_attr,json=toAttr,proto3" json:"to_attr"` FromRevAttr uint32 `protobuf:"varint,9,opt,name=from_rev_attr,json=fromRevAttr,proto3" json:"from_rev_attr"` ToRevAttr uint32 `protobuf:"varint,10,opt,name=to_rev_attr,json=toRevAttr,proto3" json:"to_rev_attr"` Content map[string]string `` /* 146-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RelationLog) Descriptor ¶
func (*RelationLog) Descriptor() ([]byte, []int)
func (*RelationLog) Marshal ¶
func (m *RelationLog) Marshal() (dAtA []byte, err error)
func (*RelationLog) ProtoMessage ¶
func (*RelationLog) ProtoMessage()
func (*RelationLog) Reset ¶
func (m *RelationLog) Reset()
func (*RelationLog) Size ¶
func (m *RelationLog) Size() (n int)
func (*RelationLog) String ¶
func (m *RelationLog) String() string
func (*RelationLog) Unmarshal ¶
func (m *RelationLog) Unmarshal(dAtA []byte) error
func (*RelationLog) XXX_DiscardUnknown ¶
func (m *RelationLog) XXX_DiscardUnknown()
func (*RelationLog) XXX_Marshal ¶
func (m *RelationLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelationLog) XXX_Merge ¶
func (dst *RelationLog) XXX_Merge(src proto.Message)
func (*RelationLog) XXX_Size ¶
func (m *RelationLog) XXX_Size() int
func (*RelationLog) XXX_Unmarshal ¶
func (m *RelationLog) XXX_Unmarshal(b []byte) error
type SortFollowings ¶
type SortFollowings []*Following
SortFollowings sort followings by the mtime desc.
func (SortFollowings) Len ¶
func (fs SortFollowings) Len() int
func (SortFollowings) Less ¶
func (fs SortFollowings) Less(i, j int) bool
func (SortFollowings) Swap ¶
func (fs SortFollowings) Swap(i, j int)
type Stat ¶
type Stat struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"` Following int64 `protobuf:"varint,2,opt,name=following,proto3" json:"following"` Whisper int64 `protobuf:"varint,3,opt,name=whisper,proto3" json:"whisper"` Black int64 `protobuf:"varint,4,opt,name=black,proto3" json:"black"` Follower int64 `protobuf:"varint,5,opt,name=follower,proto3" json:"follower"` CTime go_common_library_time.Time `protobuf:"varint,6,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"` MTime go_common_library_time.Time `protobuf:"varint,7,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stat) BlackCount ¶
BlackCount get count of black, including attr black.
func (*Stat) Descriptor ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) XXX_DiscardUnknown ¶
func (m *Stat) XXX_DiscardUnknown()
func (*Stat) XXX_Unmarshal ¶
type Tag ¶
type Tag struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status"` CTime go_common_library_time.Time `protobuf:"varint,4,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"` MTime go_common_library_time.Time `protobuf:"varint,5,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tag) Descriptor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) XXX_DiscardUnknown ¶
func (m *Tag) XXX_DiscardUnknown()
func (*Tag) XXX_Unmarshal ¶
type TagCount ¶
type TagCount struct { Tagid int64 `protobuf:"varint,1,opt,name=tagid,proto3" json:"tagid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagCount) Descriptor ¶
func (*TagCount) ProtoMessage ¶
func (*TagCount) ProtoMessage()
func (*TagCount) XXX_DiscardUnknown ¶
func (m *TagCount) XXX_DiscardUnknown()
func (*TagCount) XXX_Marshal ¶
func (*TagCount) XXX_Unmarshal ¶
type TagCountList ¶
type TagCountList struct { TagCountList []*TagCount `protobuf:"bytes,1,rep,name=tag_count_list,json=tagCountList,proto3" json:"tag_count_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagCountList) Descriptor ¶
func (*TagCountList) Descriptor() ([]byte, []int)
func (*TagCountList) Marshal ¶
func (m *TagCountList) Marshal() (dAtA []byte, err error)
func (*TagCountList) ProtoMessage ¶
func (*TagCountList) ProtoMessage()
func (*TagCountList) Reset ¶
func (m *TagCountList) Reset()
func (*TagCountList) Size ¶
func (m *TagCountList) Size() (n int)
func (*TagCountList) String ¶
func (m *TagCountList) String() string
func (*TagCountList) Unmarshal ¶
func (m *TagCountList) Unmarshal(dAtA []byte) error
func (*TagCountList) XXX_DiscardUnknown ¶
func (m *TagCountList) XXX_DiscardUnknown()
func (*TagCountList) XXX_Marshal ¶
func (m *TagCountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagCountList) XXX_Merge ¶
func (dst *TagCountList) XXX_Merge(src proto.Message)
func (*TagCountList) XXX_Size ¶
func (m *TagCountList) XXX_Size() int
func (*TagCountList) XXX_Unmarshal ¶
func (m *TagCountList) XXX_Unmarshal(b []byte) error
type TagUser ¶
type TagUser struct { Fid int64 `protobuf:"varint,1,opt,name=fid,proto3" json:"fid"` Tag []int64 `protobuf:"varint,2,rep,packed,name=tag,proto3" json:"tag"` CTime go_common_library_time.Time `protobuf:"varint,3,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"-"` MTime go_common_library_time.Time `protobuf:"varint,4,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagUser) Descriptor ¶
func (*TagUser) ProtoMessage ¶
func (*TagUser) ProtoMessage()
func (*TagUser) XXX_DiscardUnknown ¶
func (m *TagUser) XXX_DiscardUnknown()
func (*TagUser) XXX_Marshal ¶
func (*TagUser) XXX_Unmarshal ¶
type Tags ¶
type Tags struct { Tags map[int64]*Tag `` /* 150-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tags) Descriptor ¶
func (*Tags) ProtoMessage ¶
func (*Tags) ProtoMessage()
func (*Tags) XXX_DiscardUnknown ¶
func (m *Tags) XXX_DiscardUnknown()
func (*Tags) XXX_Unmarshal ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.