model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

func Attr

func Attr(attribute uint32) uint32

Attr get real attribute by the specified priority.

func SetAttr

func SetAttr(attribute uint32, mask uint32) uint32

SetAttr set attribute.

func UnsetAttr

func UnsetAttr(attribute uint32, mask uint32) uint32

UnsetAttr unset attribute.

Types

type Achieve

type Achieve struct {
	Award string `json:"award"`
	Mid   int64  `json:"mid"`
}

Achieve is

type AchieveFlag

type AchieveFlag uint64

AchieveFlag is

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 ArgMids

type ArgMids struct {
	Mids   []int64
	RealIP string
}

ArgMids mids

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 ArgRelation

type ArgRelation struct {
	Mid, Fid int64
	RealIP   string
}

ArgRelation relation

type ArgRelations

type ArgRelations struct {
	Mid    int64
	Fids   []int64
	RealIP string
}

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 ArgTag

type ArgTag struct {
	Mid    int64
	Tag    string
	RealIP string
}

ArgTag tag

type ArgTagDel

type ArgTagDel struct {
	Mid    int64
	TagId  int64
	RealIP string
}

ArgTagDel tag del

type ArgTagId

type ArgTagId struct {
	Mid    int64
	TagId  int64
	RealIP string
}

ArgTagId tag id

type ArgTagUpdate

type ArgTagUpdate struct {
	Mid    int64
	TagId  int64
	New    string
	RealIP string
}

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

type FollowerNotifySetting struct {
	Mid     int64 `json:"mid"`
	Enabled bool  `json:"enabled"`
}

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 Filter

func Filter(fs []*Following, attr uint32) (res []*Following)

Filter filter followings by the given attribute.

func (*Following) Black

func (f *Following) Black() bool

Black get if black.

func (*Following) Descriptor

func (*Following) Descriptor() ([]byte, []int)

func (*Following) Following

func (f *Following) Following() bool

Following get if following.

func (*Following) Friend

func (f *Following) Friend() bool

Friend get if both way following.

func (*Following) Marshal

func (m *Following) Marshal() (dAtA []byte, err error)

func (*Following) MarshalTo

func (m *Following) MarshalTo(dAtA []byte) (int, error)

func (*Following) ProtoMessage

func (*Following) ProtoMessage()

func (*Following) Reset

func (m *Following) Reset()

func (*Following) Size

func (m *Following) Size() (n int)

func (*Following) String

func (m *Following) String() string

func (*Following) Unmarshal

func (m *Following) Unmarshal(dAtA []byte) error

func (*Following) Whisper

func (f *Following) Whisper() bool

Whisper get if whisper.

func (*Following) XXX_DiscardUnknown

func (m *Following) XXX_DiscardUnknown()

func (*Following) XXX_Marshal

func (m *Following) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Following) XXX_Merge

func (dst *Following) XXX_Merge(src proto.Message)

func (*Following) XXX_Size

func (m *Following) XXX_Size() int

func (*Following) XXX_Unmarshal

func (m *Following) XXX_Unmarshal(b []byte) error

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

func (m *FollowingList) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *FollowingTags) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*GlobalRec) Marshal

func (m *GlobalRec) Marshal() (dAtA []byte, err error)

func (*GlobalRec) MarshalTo

func (m *GlobalRec) MarshalTo(dAtA []byte) (int, error)

func (*GlobalRec) ProtoMessage

func (*GlobalRec) ProtoMessage()

func (*GlobalRec) Reset

func (m *GlobalRec) Reset()

func (*GlobalRec) Size

func (m *GlobalRec) Size() (n int)

func (*GlobalRec) String

func (m *GlobalRec) String() string

func (*GlobalRec) Unmarshal

func (m *GlobalRec) Unmarshal(dAtA []byte) error

func (*GlobalRec) XXX_DiscardUnknown

func (m *GlobalRec) XXX_DiscardUnknown()

func (*GlobalRec) XXX_Marshal

func (m *GlobalRec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalRec) XXX_Merge

func (dst *GlobalRec) XXX_Merge(src proto.Message)

func (*GlobalRec) XXX_Size

func (m *GlobalRec) XXX_Size() int

func (*GlobalRec) XXX_Unmarshal

func (m *GlobalRec) XXX_Unmarshal(b []byte) error

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

func (m *RelationLog) MarshalTo(dAtA []byte) (int, error)

func (*RelationLog) ProtoMessage

func (*RelationLog) ProtoMessage()

func (*RelationLog) Reset

func (m *RelationLog) Reset()

func (*RelationLog) Reverse

func (rl *RelationLog) Reverse() *RelationLog

Reverse is

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

func (st *Stat) BlackCount() int

BlackCount get count of black, including attr black.

func (*Stat) Count

func (st *Stat) Count() int

Count get count of following, including attr following, whisper.

func (*Stat) Descriptor

func (*Stat) Descriptor() ([]byte, []int)

func (*Stat) Empty

func (st *Stat) Empty() bool

Empty get if the stat is empty.

func (*Stat) Fill

func (st *Stat) Fill(ost *Stat)

Fill fill by the incoming stat with its non-negative fields.

func (*Stat) Marshal

func (m *Stat) Marshal() (dAtA []byte, err error)

func (*Stat) MarshalTo

func (m *Stat) MarshalTo(dAtA []byte) (int, error)

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) Reset

func (m *Stat) Reset()

func (*Stat) Size

func (m *Stat) Size() (n int)

func (*Stat) String

func (m *Stat) String() string

func (*Stat) Unmarshal

func (m *Stat) Unmarshal(dAtA []byte) error

func (*Stat) XXX_DiscardUnknown

func (m *Stat) XXX_DiscardUnknown()

func (*Stat) XXX_Marshal

func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stat) XXX_Merge

func (dst *Stat) XXX_Merge(src proto.Message)

func (*Stat) XXX_Size

func (m *Stat) XXX_Size() int

func (*Stat) XXX_Unmarshal

func (m *Stat) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Tag) Marshal

func (m *Tag) Marshal() (dAtA []byte, err error)

func (*Tag) MarshalTo

func (m *Tag) MarshalTo(dAtA []byte) (int, error)

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) Size

func (m *Tag) Size() (n int)

func (*Tag) String

func (m *Tag) String() string

func (*Tag) Unmarshal

func (m *Tag) Unmarshal(dAtA []byte) error

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tag) XXX_Merge

func (dst *Tag) XXX_Merge(src proto.Message)

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

func (m *Tag) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*TagCount) Marshal

func (m *TagCount) Marshal() (dAtA []byte, err error)

func (*TagCount) MarshalTo

func (m *TagCount) MarshalTo(dAtA []byte) (int, error)

func (*TagCount) ProtoMessage

func (*TagCount) ProtoMessage()

func (*TagCount) Reset

func (m *TagCount) Reset()

func (*TagCount) Size

func (m *TagCount) Size() (n int)

func (*TagCount) String

func (m *TagCount) String() string

func (*TagCount) Unmarshal

func (m *TagCount) Unmarshal(dAtA []byte) error

func (*TagCount) XXX_DiscardUnknown

func (m *TagCount) XXX_DiscardUnknown()

func (*TagCount) XXX_Marshal

func (m *TagCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagCount) XXX_Merge

func (dst *TagCount) XXX_Merge(src proto.Message)

func (*TagCount) XXX_Size

func (m *TagCount) XXX_Size() int

func (*TagCount) XXX_Unmarshal

func (m *TagCount) XXX_Unmarshal(b []byte) error

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

func (m *TagCountList) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*TagUser) Marshal

func (m *TagUser) Marshal() (dAtA []byte, err error)

func (*TagUser) MarshalTo

func (m *TagUser) MarshalTo(dAtA []byte) (int, error)

func (*TagUser) ProtoMessage

func (*TagUser) ProtoMessage()

func (*TagUser) Reset

func (m *TagUser) Reset()

func (*TagUser) Size

func (m *TagUser) Size() (n int)

func (*TagUser) String

func (m *TagUser) String() string

func (*TagUser) Unmarshal

func (m *TagUser) Unmarshal(dAtA []byte) error

func (*TagUser) XXX_DiscardUnknown

func (m *TagUser) XXX_DiscardUnknown()

func (*TagUser) XXX_Marshal

func (m *TagUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagUser) XXX_Merge

func (dst *TagUser) XXX_Merge(src proto.Message)

func (*TagUser) XXX_Size

func (m *TagUser) XXX_Size() int

func (*TagUser) XXX_Unmarshal

func (m *TagUser) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Tags) Marshal

func (m *Tags) Marshal() (dAtA []byte, err error)

func (*Tags) MarshalTo

func (m *Tags) MarshalTo(dAtA []byte) (int, error)

func (*Tags) ProtoMessage

func (*Tags) ProtoMessage()

func (*Tags) Reset

func (m *Tags) Reset()

func (*Tags) Size

func (m *Tags) Size() (n int)

func (*Tags) String

func (m *Tags) String() string

func (*Tags) Unmarshal

func (m *Tags) Unmarshal(dAtA []byte) error

func (*Tags) XXX_DiscardUnknown

func (m *Tags) XXX_DiscardUnknown()

func (*Tags) XXX_Marshal

func (m *Tags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tags) XXX_Merge

func (dst *Tags) XXX_Merge(src proto.Message)

func (*Tags) XXX_Size

func (m *Tags) XXX_Size() int

func (*Tags) XXX_Unmarshal

func (m *Tags) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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