like

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VIDEO         = 1
	PICTURE       = 2
	DRAWYOO       = 3
	VIDEOLIKE     = 4
	PICTURELIKE   = 5
	DRAWYOOLIKE   = 6
	TEXT          = 7
	TEXTLIKE      = 8
	ONLINEVOTE    = 9
	QUESTION      = 10
	LOTTERY       = 11
	ARTICLE       = 12
	VIDEO2        = 13
	MUSIC         = 15
	PHONEVIDEO    = 16
	SMALLVIDEO    = 17
	RESERVATION   = 18
	MISSIONGROUP  = 19
	STORYKING     = 20
	FLAGFIRST     = 1
	FLAGSPY       = 2
	FLAGUSTIME    = 4
	FLAGUETIME    = 8
	FLAGLEVEL     = 16
	FLAGIP        = 32
	FLAGRANKCLOSE = 64
	FLAGPHONEBIND = 128
)

Subject type.

View Source
const (
	LIKESCORE = 1
)

action type

Variables

View Source
var (
	ErrInvalidLengthAchievements = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAchievements   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMatch = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMatch   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMissiongroup = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMissiongroup   = fmt.Errorf("proto: integer overflow")
)

Subject group type

View Source
var (
	ErrInvalidLengthSubject = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubject   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Achievements

type Achievements struct {
	Achievements         []*ActLikeAchievement `protobuf:"bytes,1,rep,name=achievements" json:"achievements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Achievements) Descriptor

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

func (*Achievements) Marshal

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

func (*Achievements) MarshalTo

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

func (*Achievements) ProtoMessage

func (*Achievements) ProtoMessage()

func (*Achievements) Reset

func (m *Achievements) Reset()

func (*Achievements) Size

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

func (*Achievements) String

func (m *Achievements) String() string

func (*Achievements) Unmarshal

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

func (*Achievements) XXX_DiscardUnknown

func (m *Achievements) XXX_DiscardUnknown()

func (*Achievements) XXX_Marshal

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

func (*Achievements) XXX_Merge

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

func (*Achievements) XXX_Size

func (m *Achievements) XXX_Size() int

func (*Achievements) XXX_Unmarshal

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

type ActLikeAchievement

type ActLikeAchievement struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Name                 string                      `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
	Icon                 string                      `protobuf:"bytes,3,opt,name=Icon,proto3" json:"icon"`
	Dic                  string                      `protobuf:"bytes,4,opt,name=Dic,proto3" json:"dic"`
	Unlock               int64                       `protobuf:"varint,5,opt,name=Unlock,proto3" json:"unlock"`
	Ctime                go_common_library_time.Time `protobuf:"varint,6,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,7,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Del                  int64                       `protobuf:"varint,8,opt,name=Del,proto3" json:"del"`
	Sid                  int64                       `protobuf:"varint,9,opt,name=Sid,proto3" json:"sid"`
	Image                string                      `protobuf:"bytes,10,opt,name=Image,proto3" json:"image"`
	Award                int64                       `protobuf:"varint,11,opt,name=Award,proto3" json:"award"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ActLikeAchievement) Descriptor

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

func (*ActLikeAchievement) Marshal

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

func (*ActLikeAchievement) MarshalTo

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

func (*ActLikeAchievement) ProtoMessage

func (*ActLikeAchievement) ProtoMessage()

func (*ActLikeAchievement) Reset

func (m *ActLikeAchievement) Reset()

func (*ActLikeAchievement) Size

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

func (*ActLikeAchievement) String

func (m *ActLikeAchievement) String() string

func (*ActLikeAchievement) Unmarshal

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

func (*ActLikeAchievement) XXX_DiscardUnknown

func (m *ActLikeAchievement) XXX_DiscardUnknown()

func (*ActLikeAchievement) XXX_Marshal

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

func (*ActLikeAchievement) XXX_Merge

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

func (*ActLikeAchievement) XXX_Size

func (m *ActLikeAchievement) XXX_Size() int

func (*ActLikeAchievement) XXX_Unmarshal

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

type ActLikeUserAchievement

type ActLikeUserAchievement struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Aid                  int64                       `protobuf:"varint,2,opt,name=Aid,proto3" json:"aid"`
	Ctime                go_common_library_time.Time `protobuf:"varint,3,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,4,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Del                  int64                       `protobuf:"varint,5,opt,name=Del,proto3" json:"del"`
	Mid                  int64                       `protobuf:"varint,6,opt,name=Mid,proto3" json:"mid"`
	Sid                  int64                       `protobuf:"varint,7,opt,name=Sid,proto3" json:"sid"`
	Award                int64                       `protobuf:"varint,8,opt,name=Award,proto3" json:"award"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ActLikeUserAchievement) Descriptor

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

func (*ActLikeUserAchievement) Marshal

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

func (*ActLikeUserAchievement) MarshalTo

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

func (*ActLikeUserAchievement) ProtoMessage

func (*ActLikeUserAchievement) ProtoMessage()

func (*ActLikeUserAchievement) Reset

func (m *ActLikeUserAchievement) Reset()

func (*ActLikeUserAchievement) Size

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

func (*ActLikeUserAchievement) String

func (m *ActLikeUserAchievement) String() string

func (*ActLikeUserAchievement) Unmarshal

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

func (*ActLikeUserAchievement) XXX_DiscardUnknown

func (m *ActLikeUserAchievement) XXX_DiscardUnknown()

func (*ActLikeUserAchievement) XXX_Marshal

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

func (*ActLikeUserAchievement) XXX_Merge

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

func (*ActLikeUserAchievement) XXX_Size

func (m *ActLikeUserAchievement) XXX_Size() int

func (*ActLikeUserAchievement) XXX_Unmarshal

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

type ActMissionGroup

type ActMissionGroup struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Lid                  int64                       `protobuf:"varint,2,opt,name=Lid,proto3" json:"lid"`
	Mid                  int64                       `protobuf:"varint,3,opt,name=Mid,proto3" json:"mid"`
	Action               int64                       `protobuf:"varint,4,opt,name=Action,proto3" json:"action"`
	Ctime                go_common_library_time.Time `protobuf:"varint,5,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,6,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Sid                  int64                       `protobuf:"varint,7,opt,name=Sid,proto3" json:"sid"`
	IP                   int64                       `protobuf:"varint,8,opt,name=IP,proto3" json:"ip"`
	IPv6                 []byte                      `protobuf:"bytes,9,opt,name=IPv6,proto3" json:"ipv6"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ActMissionGroup) Descriptor

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

func (*ActMissionGroup) Marshal

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

func (*ActMissionGroup) MarshalTo

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

func (*ActMissionGroup) ProtoMessage

func (*ActMissionGroup) ProtoMessage()

func (*ActMissionGroup) Reset

func (m *ActMissionGroup) Reset()

func (*ActMissionGroup) Size

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

func (*ActMissionGroup) String

func (m *ActMissionGroup) String() string

func (*ActMissionGroup) Unmarshal

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

func (*ActMissionGroup) XXX_DiscardUnknown

func (m *ActMissionGroup) XXX_DiscardUnknown()

func (*ActMissionGroup) XXX_Marshal

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

func (*ActMissionGroup) XXX_Merge

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

func (*ActMissionGroup) XXX_Size

func (m *ActMissionGroup) XXX_Size() int

func (*ActMissionGroup) XXX_Unmarshal

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

type ActMissionGroups

type ActMissionGroups struct {
	ActMissionGroups     []*ActMissionGroup `protobuf:"bytes,1,rep,name=actMissionGroups" json:"actMissionGroups,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ActMissionGroups) Descriptor

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

func (*ActMissionGroups) Marshal

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

func (*ActMissionGroups) MarshalTo

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

func (*ActMissionGroups) ProtoMessage

func (*ActMissionGroups) ProtoMessage()

func (*ActMissionGroups) Reset

func (m *ActMissionGroups) Reset()

func (*ActMissionGroups) Size

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

func (*ActMissionGroups) String

func (m *ActMissionGroups) String() string

func (*ActMissionGroups) Unmarshal

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

func (*ActMissionGroups) XXX_DiscardUnknown

func (m *ActMissionGroups) XXX_DiscardUnknown()

func (*ActMissionGroups) XXX_Marshal

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

func (*ActMissionGroups) XXX_Merge

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

func (*ActMissionGroups) XXX_Size

func (m *ActMissionGroups) XXX_Size() int

func (*ActMissionGroups) XXX_Unmarshal

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

type ActSubjectProtocol

type ActSubjectProtocol struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Sid                  int64                       `protobuf:"varint,2,opt,name=Sid,proto3" json:"sid"`
	Protocol             string                      `protobuf:"bytes,3,opt,name=Protocol,proto3" json:"protocol"`
	Mtime                go_common_library_time.Time `protobuf:"varint,4,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Ctime                go_common_library_time.Time `protobuf:"varint,5,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Types                string                      `protobuf:"bytes,6,opt,name=Types,proto3" json:"types"`
	Tags                 string                      `protobuf:"bytes,7,opt,name=Tags,proto3" json:"tags"`
	Pubtime              go_common_library_time.Time `protobuf:"varint,8,opt,name=Pubtime,proto3,casttype=go-common/library/time.Time" json:"pubtime"`
	Deltime              go_common_library_time.Time `protobuf:"varint,9,opt,name=Deltime,proto3,casttype=go-common/library/time.Time" json:"deltime"`
	Editime              go_common_library_time.Time `protobuf:"varint,10,opt,name=Editime,proto3,casttype=go-common/library/time.Time" json:"editime"`
	Hot                  int64                       `protobuf:"varint,11,opt,name=Hot,proto3" json:"hot"`
	BgmID                int64                       `protobuf:"varint,12,opt,name=BgmID,proto3" json:"bgm_id"`
	PasterID             int64                       `protobuf:"varint,13,opt,name=PasterID,proto3" json:"paster_id"`
	Oids                 string                      `protobuf:"bytes,14,opt,name=Oids,proto3" json:"oids"`
	ScreenSet            int64                       `protobuf:"varint,15,opt,name=ScreenSet,proto3" json:"screen_set"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ActSubjectProtocol) Descriptor

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

func (*ActSubjectProtocol) Marshal

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

func (*ActSubjectProtocol) MarshalTo

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

func (*ActSubjectProtocol) ProtoMessage

func (*ActSubjectProtocol) ProtoMessage()

func (*ActSubjectProtocol) Reset

func (m *ActSubjectProtocol) Reset()

func (*ActSubjectProtocol) Size

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

func (*ActSubjectProtocol) String

func (m *ActSubjectProtocol) String() string

func (*ActSubjectProtocol) Unmarshal

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

func (*ActSubjectProtocol) XXX_DiscardUnknown

func (m *ActSubjectProtocol) XXX_DiscardUnknown()

func (*ActSubjectProtocol) XXX_Marshal

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

func (*ActSubjectProtocol) XXX_Merge

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

func (*ActSubjectProtocol) XXX_Size

func (m *ActSubjectProtocol) XXX_Size() int

func (*ActSubjectProtocol) XXX_Unmarshal

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

type Action

type Action struct {
	ID     int64      `json:"id"`
	Lid    int64      `json:"lid"`
	Mid    int64      `json:"mid"`
	Action int64      `json:"action"`
	Ctime  xtime.Time `json:"ctime"`
	Mtime  xtime.Time `json:"mtime"`
	Sid    int64      `json:"sid"`
	IP     int64      `json:"ip"`
	IPv6   []byte     `json:"ipv6"`
}

Action def.

type ArgActProtocol

type ArgActProtocol struct {
	Sid int64
}

ArgActProtocol .

type ArgActSubject

type ArgActSubject struct {
	Sid int64
}

ArgActSubject .

type ArgLikeItem

type ArgLikeItem struct {
	ID   int64
	Sid  int64
	Type int
}

ArgLikeItem .

type ArgLikeUp

type ArgLikeUp struct {
	Lid int64
}

ArgLikeUp .

type ArgMatch

type ArgMatch struct {
	Sid int64
}

ArgMatch arg match

type ArgSubjectUp

type ArgSubjectUp struct {
	Sid int64
}

ArgSubjectUp .

type ArgTag

type ArgTag struct {
	Archive *garcmdl.Arc `json:"archive,omitempty"`
	Tags    []string     `json:"tags,omitempty"`
}

ArgTag .

type Extend

type Extend struct {
	ID    int64      `json:"id"`
	Lid   int64      `json:"lid"`
	Like  int64      `json:"like"`
	Ctime xtime.Time `json:"ctime"`
	Mtime xtime.Time `json:"mtime"`
}

Extend like_extend .

type GroupItem

type GroupItem struct {
	ID      int64  `json:"id"`
	Sid     int64  `json:"sid"`
	State   int    `json:"state"`
	Type    int    `json:"type"`
	Mid     int64  `json:"mid"`
	Wid     int64  `json:"wid"`
	Ctime   string `json:"ctime"`
	Likes   int    `json:"likes"`
	Liked   int    `json:"liked"`
	Message string `json:"message"`
	Device  string `json:"device"`
	Image   string `json:"image"`
	Plat    string `json:"plat"`
	Reply   string `json:"reply"`
	Link    string `json:"link"`
}

GroupItem .

type Item

type Item struct {
	ID       int64      `json:"id"`
	Wid      int64      `json:"wid"`
	Ctime    xtime.Time `json:"act_ctime"`
	Sid      int64      `json:"sid"`
	Type     int        `json:"type"`
	Mid      int64      `json:"mid"`
	State    int        `json:"state"`
	StickTop int        `json:"stick_top"`
	Mtime    xtime.Time `json:"mtime"`
}

Item like item struct.

type LidLikeRes

type LidLikeRes struct {
	Score int64
	Lid   int64
}

LidLikeRes .

type LidLikeSum

type LidLikeSum struct {
	Likes int64
	Lid   int64
}

LidLikeSum def .

type Like

type Like struct {
	*Item
	Archive *garcmdl.Arc `json:"archive,omitempty"`
}

Like struct

type LikeContent

type LikeContent struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Message              string                      `protobuf:"bytes,2,opt,name=Message,proto3" json:"message"`
	IP                   int64                       `protobuf:"varint,3,opt,name=IP,proto3" json:"ip"`
	Plat                 int64                       `protobuf:"varint,4,opt,name=Plat,proto3" json:"plat"`
	Device               int64                       `protobuf:"varint,5,opt,name=Device,proto3" json:"device"`
	Ctime                go_common_library_time.Time `protobuf:"varint,6,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,7,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Image                string                      `protobuf:"bytes,8,opt,name=Image,proto3" json:"image"`
	Reply                string                      `protobuf:"bytes,9,opt,name=Reply,proto3" json:"reply"`
	Link                 string                      `protobuf:"bytes,10,opt,name=Link,proto3" json:"link"`
	ExName               string                      `protobuf:"bytes,11,opt,name=ExName,proto3" json:"ex_name"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*LikeContent) Descriptor

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

func (*LikeContent) Marshal

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

func (*LikeContent) MarshalTo

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

func (*LikeContent) ProtoMessage

func (*LikeContent) ProtoMessage()

func (*LikeContent) Reset

func (m *LikeContent) Reset()

func (*LikeContent) Size

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

func (*LikeContent) String

func (m *LikeContent) String() string

func (*LikeContent) Unmarshal

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

func (*LikeContent) XXX_DiscardUnknown

func (m *LikeContent) XXX_DiscardUnknown()

func (*LikeContent) XXX_Marshal

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

func (*LikeContent) XXX_Merge

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

func (*LikeContent) XXX_Size

func (m *LikeContent) XXX_Size() int

func (*LikeContent) XXX_Unmarshal

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

type List

type List struct {
	*Item
	Object   interface{} `json:"object"`
	Like     int64       `json:"like"`
	Likes    int64       `json:"likes"`
	HasLikes int8        `json:"has_likes"`
	Click    int64       `json:"click"`
	Coin     int64       `json:"coin"`
	Share    int64       `json:"share"`
	Reply    int64       `json:"reply"`
	Dm       int64       `json:"dm"`
	Fav      int64       `json:"fav"`
}

List .

type ListInfo

type ListInfo struct {
	List []*List `json:"list"`
	*Page
}

ListInfo .

type Lottery

type Lottery struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data struct {
		Name           string `json:"name"`
		Sponsors       string `json:"sponsors"`
		SponsorsLogo   string `json:"sponsors_logo"`
		GiftID         int64  `json:"gift_id"`
		MessageTitle   string `json:"message_title"`
		MessageContent string `json:"message_content"`
	} `json:"data"`
}

Lottery .

type Match

type Match struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Sid                  int64                       `protobuf:"varint,2,opt,name=Sid,proto3" json:"sid"`
	MaxStake             int64                       `protobuf:"varint,3,opt,name=MaxStake,proto3" json:"max_stake"`
	Stake                int64                       `protobuf:"varint,4,opt,name=Stake,proto3" json:"stake"`
	Name                 string                      `protobuf:"bytes,5,opt,name=Name,proto3" json:"name"`
	Url                  string                      `protobuf:"bytes,6,opt,name=Url,proto3" json:"url"`
	Cover                string                      `protobuf:"bytes,7,opt,name=Cover,proto3" json:"cover"`
	Ctime                go_common_library_time.Time `protobuf:"varint,8,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,9,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 (*Match) Descriptor

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

func (*Match) Marshal

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

func (*Match) MarshalTo

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

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) Reset

func (m *Match) Reset()

func (*Match) Size

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

func (*Match) String

func (m *Match) String() string

func (*Match) Unmarshal

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

func (*Match) XXX_DiscardUnknown

func (m *Match) XXX_DiscardUnknown()

func (*Match) XXX_Marshal

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

func (*Match) XXX_Merge

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

func (*Match) XXX_Size

func (m *Match) XXX_Size() int

func (*Match) XXX_Unmarshal

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

type MatchList

type MatchList struct {
	MatchList            []*Match `protobuf:"bytes,1,rep,name=matchList" json:"matchList,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MatchList) Descriptor

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

func (*MatchList) Marshal

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

func (*MatchList) MarshalTo

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

func (*MatchList) ProtoMessage

func (*MatchList) ProtoMessage()

func (*MatchList) Reset

func (m *MatchList) Reset()

func (*MatchList) Size

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

func (*MatchList) String

func (m *MatchList) String() string

func (*MatchList) Unmarshal

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

func (*MatchList) XXX_DiscardUnknown

func (m *MatchList) XXX_DiscardUnknown()

func (*MatchList) XXX_Marshal

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

func (*MatchList) XXX_Merge

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

func (*MatchList) XXX_Size

func (m *MatchList) XXX_Size() int

func (*MatchList) XXX_Unmarshal

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

type MissionAward

type MissionAward struct {
	ID    int64  `json:"id"`
	Award int64  `json:"award"`
	Image string `json:"image"`
	Name  string `json:"name"`
}

MissionAward .

type MissionFriends

type MissionFriends struct {
	Mid  int64  `json:"mid"`
	Name string `json:"name"`
	Face string `json:"face"`
}

MissionFriends .

type MissionGroup

type MissionGroup struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Sid                  int64                       `protobuf:"varint,2,opt,name=Sid,proto3" json:"sid"`
	Mid                  int64                       `protobuf:"varint,3,opt,name=Mid,proto3" json:"mid"`
	State                int64                       `protobuf:"varint,4,opt,name=State,proto3" json:"state"`
	Ctime                go_common_library_time.Time `protobuf:"varint,5,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,6,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 (*MissionGroup) Descriptor

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

func (*MissionGroup) Marshal

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

func (*MissionGroup) MarshalTo

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

func (*MissionGroup) ProtoMessage

func (*MissionGroup) ProtoMessage()

func (*MissionGroup) Reset

func (m *MissionGroup) Reset()

func (*MissionGroup) Size

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

func (*MissionGroup) String

func (m *MissionGroup) String() string

func (*MissionGroup) Unmarshal

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

func (*MissionGroup) XXX_DiscardUnknown

func (m *MissionGroup) XXX_DiscardUnknown()

func (*MissionGroup) XXX_Marshal

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

func (*MissionGroup) XXX_Merge

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

func (*MissionGroup) XXX_Size

func (m *MissionGroup) XXX_Size() int

func (*MissionGroup) XXX_Unmarshal

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

type MissionInfo

type MissionInfo struct {
	HasHelp int64 `json:"has_help"`
	HasBuff int64 `json:"has_buff"`
}

MissionInfo .

type MissionLikeAct

type MissionLikeAct struct {
	Mlid    int64    `json:"mlid"`
	Lottery *Lottery `json:"lottery"`
}

MissionLikeAct .

type MissionRank

type MissionRank struct {
	Lid   int64 `json:"lid"`
	Score int64 `json:"score"`
	Rank  int64 `json:"rank"`
}

MissionRank .

type Object

type Object struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	MatchId              int64                       `protobuf:"varint,2,opt,name=MatchId,proto3" json:"match_id"`
	Sid                  int64                       `protobuf:"varint,3,opt,name=Sid,proto3" json:"sid"`
	HomeName             string                      `protobuf:"bytes,4,opt,name=HomeName,proto3" json:"home_name"`
	HomeScore            int64                       `protobuf:"varint,6,opt,name=HomeScore,proto3" json:"home_score"`
	AwayName             string                      `protobuf:"bytes,7,opt,name=AwayName,proto3" json:"away_name"`
	AwayScore            int64                       `protobuf:"varint,9,opt,name=AwayScore,proto3" json:"away_score"`
	Result               int64                       `protobuf:"varint,10,opt,name=Result,proto3" json:"result"`
	Ctime                go_common_library_time.Time `protobuf:"varint,11,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,12,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Stime                go_common_library_time.Time `protobuf:"varint,13,opt,name=Stime,proto3,casttype=go-common/library/time.Time" json:"stime"`
	Etime                go_common_library_time.Time `protobuf:"varint,14,opt,name=Etime,proto3,casttype=go-common/library/time.Time" json:"etime"`
	UserResult           int64                       `protobuf:"varint,15,opt,name=UserResult,proto3" json:"user_result"`
	GameStime            go_common_library_time.Time `protobuf:"varint,16,opt,name=GameStime,proto3,casttype=go-common/library/time.Time" json:"game_stime"`
	MatchName            string                      `protobuf:"bytes,17,opt,name=MatchName,proto3" json:"match_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*Object) Descriptor

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

func (*Object) Marshal

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

func (*Object) MarshalTo

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

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) Size

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

func (*Object) String

func (m *Object) String() string

func (*Object) Unmarshal

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

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

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

func (*Object) XXX_Merge

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

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

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

type Page

type Page struct {
	Num   int   `json:"num"`
	Size  int   `json:"size"`
	Total int64 `json:"total"`
}

Page .

type ParamAddGuess

type ParamAddGuess struct {
	ObjID  int64 `form:"obj_id" validate:"required,min=1"`
	Result int64 `form:"result" validate:"required,min=1"`
	Stake  int64 `form:"stake"  validate:"gt=0"`
}

ParamAddGuess add guess param

type ParamAddLikeAct

type ParamAddLikeAct struct {
	Sid   int64 `form:"sid" validate:"required,min=1"`
	Lid   int64 `form:"lid" validate:"required,min=1"`
	Score int64 `form:"score" validate:"min=1,max=5"`
}

ParamAddLikeAct add likeAct param

type ParamList

type ParamList struct {
	Sid  int64  `form:"sid" validate:"min=1"`
	Type string `form:"type" default:"like"`
	Pn   int    `form:"pn" default:"1" validate:"min=1"`
	Ps   int    `form:"ps" default:"30" validate:"min=1,max=100"`
}

ParamList .

type ParamMissionFriends

type ParamMissionFriends struct {
	Sid  int64 `form:"sid"  validate:"min=1"`
	Lid  int64 `form:"lid"  validate:"min=1"`
	Size int   `form:"size" validate:"min=1,max=50"`
}

ParamMissionFriends get mission friends list

type ParamMissionLikeAct

type ParamMissionLikeAct struct {
	Sid int64 `form:"sid" validate:"min=1"`
	Lid int64 `form:"lid" validate:"min=1"`
}

ParamMissionLikeAct add missionAct param

type ParamMsg

type ParamMsg struct {
	Msg string `form:"msg" validate:"required"`
}

ParamMsg notify param msg.

type ParamObject

type ParamObject struct {
	Sid int64 `form:"sid" validate:"required,min=1"`
	Pn  int   `form:"pn" validate:"gt=0"`
	Ps  int   `form:"ps" validate:"gt=0,lte=50"`
}

ParamObject unstart object param

type ParamSid

type ParamSid struct {
	Sid int64 `form:"sid" validate:"required,min=1"`
}

ParamSid sid param

type ParamStoryKingAct

type ParamStoryKingAct struct {
	Sid   int64 `form:"sid" validate:"required,min=1"`
	Lid   int64 `form:"lid" validate:"required,min=1"`
	Score int64 `form:"score" validate:"min=1,max=10"`
}

ParamStoryKingAct .

type ParamTeams

type ParamTeams struct {
	Teams []string `form:"teams,split" validate:"gt=0,dive,gt=0"`
}

ParamTeams add follow param teams

type RedDot

type RedDot struct {
	RedDot bool `json:"red_dot"`
}

RedDot bool

type SubItem

type SubItem struct {
	ID    int64      `json:"id"`
	Ctime xtime.Time `json:"ctime"`
}

SubItem .

type SubProtocol

type SubProtocol struct {
	*SubjectItem
	*ActSubjectProtocol
}

SubProtocol .

type Subject

type Subject struct {
	ID       int64      `json:"id"`
	Name     string     `json:"name"`
	Dic      string     `json:"dic"`
	Cover    string     `json:"cover"`
	Stime    xtime.Time `json:"stime"`
	Interval int32      `json:"interval"`
	Tlimit   int32      `json:"tlimit"`
	Ltime    int32      `json:"ltime"`
	List     []*Like    `json:"list"`
}

Subject struct

type SubjectItem

type SubjectItem struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	Oid                  int64                       `protobuf:"varint,2,opt,name=Oid,proto3" json:"oid"`
	Type                 int64                       `protobuf:"varint,3,opt,name=Type,proto3" json:"type"`
	State                int64                       `protobuf:"varint,4,opt,name=State,proto3" json:"state"`
	Stime                go_common_library_time.Time `protobuf:"varint,5,opt,name=Stime,proto3,casttype=go-common/library/time.Time" json:"stime"`
	Etime                go_common_library_time.Time `protobuf:"varint,6,opt,name=Etime,proto3,casttype=go-common/library/time.Time" json:"etime"`
	Ctime                go_common_library_time.Time `protobuf:"varint,7,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,8,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	Name                 string                      `protobuf:"bytes,9,opt,name=Name,proto3" json:"name"`
	Author               string                      `protobuf:"bytes,10,opt,name=Author,proto3" json:"author"`
	ActURL               string                      `protobuf:"bytes,11,opt,name=ActURL,proto3" json:"act_url"`
	Lstime               go_common_library_time.Time `protobuf:"varint,12,opt,name=Lstime,proto3,casttype=go-common/library/time.Time" json:"lstime"`
	Letime               go_common_library_time.Time `protobuf:"varint,13,opt,name=Letime,proto3,casttype=go-common/library/time.Time" json:"letime"`
	Cover                string                      `protobuf:"bytes,14,opt,name=Cover,proto3" json:"cover"`
	Dic                  string                      `protobuf:"bytes,15,opt,name=Dic,proto3" json:"dic"`
	Flag                 int64                       `protobuf:"varint,16,opt,name=Flag,proto3" json:"flag"`
	Uetime               go_common_library_time.Time `protobuf:"varint,17,opt,name=Uetime,proto3,casttype=go-common/library/time.Time" json:"uetime"`
	Ustime               go_common_library_time.Time `protobuf:"varint,18,opt,name=Ustime,proto3,casttype=go-common/library/time.Time" json:"ustime"`
	Level                int64                       `protobuf:"varint,19,opt,name=Level,proto3" json:"level"`
	H5Cover              string                      `protobuf:"bytes,20,opt,name=H5_cover,json=H5Cover,proto3" json:"h5_cover"`
	Rank                 int64                       `protobuf:"varint,21,opt,name=Rank,proto3" json:"rank"`
	LikeLimit            int64                       `protobuf:"varint,22,opt,name=LikeLimit,proto3" json:"like_limit"`
	AndroidURL           string                      `protobuf:"bytes,23,opt,name=AndroidURL,proto3" json:"android_url"`
	IosURL               string                      `protobuf:"bytes,24,opt,name=IosURL,proto3" json:"ios_url"`
	DailyLikeLimit       int64                       `protobuf:"varint,25,opt,name=DailyLikeLimit,proto3" json:"daily_like_limit"`
	DailySingleLikeLimit int64                       `protobuf:"varint,26,opt,name=DailySingleLikeLimit,proto3" json:"daily_single_like_limit"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*SubjectItem) Descriptor

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

func (*SubjectItem) Marshal

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

func (*SubjectItem) MarshalTo

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

func (*SubjectItem) ProtoMessage

func (*SubjectItem) ProtoMessage()

func (*SubjectItem) Reset

func (m *SubjectItem) Reset()

func (*SubjectItem) Size

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

func (*SubjectItem) String

func (m *SubjectItem) String() string

func (*SubjectItem) Unmarshal

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

func (*SubjectItem) XXX_DiscardUnknown

func (m *SubjectItem) XXX_DiscardUnknown()

func (*SubjectItem) XXX_Marshal

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

func (*SubjectItem) XXX_Merge

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

func (*SubjectItem) XXX_Size

func (m *SubjectItem) XXX_Size() int

func (*SubjectItem) XXX_Unmarshal

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

type SubjectScore

type SubjectScore struct {
	Score int64 `json:"score"`
}

SubjectScore .

type SubjectStat

type SubjectStat struct {
	Sid   int64 `json:"sid" form:"sid" validate:"min=1"`
	Count int64 `json:"count" form:"count"`
	View  int64 `form:"view" form:"view"`
	Like  int64 `form:"like" form:"like"`
	Fav   int64 `form:"fav" form:"fav"`
	Coin  int64 `form:"coin" form:"coin"`
}

SubjectStat .

type Tag

type Tag struct {
	ID   int64  `json:"tag_id,omitempty"`
	Name string `json:"tag_name,omitempty"`
}

Tag .

type UserGuess

type UserGuess struct {
	Total                int64    `protobuf:"varint,1,opt,name=Total,proto3" json:"total"`
	Win                  int64    `protobuf:"varint,2,opt,name=Win,proto3" json:"win"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserGuess) Descriptor

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

func (*UserGuess) Marshal

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

func (*UserGuess) MarshalTo

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

func (*UserGuess) ProtoMessage

func (*UserGuess) ProtoMessage()

func (*UserGuess) Reset

func (m *UserGuess) Reset()

func (*UserGuess) Size

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

func (*UserGuess) String

func (m *UserGuess) String() string

func (*UserGuess) Unmarshal

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

func (*UserGuess) XXX_DiscardUnknown

func (m *UserGuess) XXX_DiscardUnknown()

func (*UserGuess) XXX_Marshal

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

func (*UserGuess) XXX_Merge

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

func (*UserGuess) XXX_Size

func (m *UserGuess) XXX_Size() int

func (*UserGuess) XXX_Unmarshal

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

type UserLog

type UserLog struct {
	ID                   int64                       `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	MatchId              int64                       `protobuf:"varint,2,opt,name=MatchId,proto3" json:"match_id"`
	MOId                 int64                       `protobuf:"varint,3,opt,name=MOId,proto3" json:"m_o_id"`
	Sid                  int64                       `protobuf:"varint,4,opt,name=Sid,proto3" json:"sid"`
	Mid                  int64                       `protobuf:"varint,5,opt,name=Mid,proto3" json:"mid"`
	Result               int64                       `protobuf:"varint,6,opt,name=Result,proto3" json:"result"`
	Stake                int64                       `protobuf:"varint,7,opt,name=Stake,proto3" json:"stake"`
	Ctime                go_common_library_time.Time `protobuf:"varint,8,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,9,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
	ObjResult            int64                       `protobuf:"varint,10,opt,name=ObjResult,proto3" json:"obj_result"`
	HomeName             string                      `protobuf:"bytes,11,opt,name=HomeName,proto3" json:"home_name"`
	AwayName             string                      `protobuf:"bytes,12,opt,name=AwayName,proto3" json:"away_name"`
	GameStime            go_common_library_time.Time `protobuf:"varint,13,opt,name=GameStime,proto3,casttype=go-common/library/time.Time" json:"game_stime"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*UserLog) Descriptor

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

func (*UserLog) Marshal

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

func (*UserLog) MarshalTo

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

func (*UserLog) ProtoMessage

func (*UserLog) ProtoMessage()

func (*UserLog) Reset

func (m *UserLog) Reset()

func (*UserLog) Size

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

func (*UserLog) String

func (m *UserLog) String() string

func (*UserLog) Unmarshal

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

func (*UserLog) XXX_DiscardUnknown

func (m *UserLog) XXX_DiscardUnknown()

func (*UserLog) XXX_Marshal

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

func (*UserLog) XXX_Merge

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

func (*UserLog) XXX_Size

func (m *UserLog) XXX_Size() int

func (*UserLog) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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