Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Activities(c context.Context) (act []*activity.Activity, err error)
- func (d *Dao) Likes(c context.Context, missionID int64) (likeCnt int, err error)
- func (d *Dao) MissionOnlineByTid(c context.Context, tid, plat int16) (mm []*activity.ActWithTP, err error)
- func (d *Dao) Protocol(c context.Context, missionID int64) (p *activity.Protocol, err error)
- func (d *Dao) Subject(c context.Context, missionID int64) (sub *activity.Activity, err error)
- func (d *Dao) Unbind(c context.Context, aid, missionID int64, ip string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct { // uri ActAllListURI string ActUpdateURI string ActSubjectURI string ActProtocolURI string ActOnlineByTypeURL string ActLikeURI string // contains filtered or unexported fields }
Dao define
func (*Dao) Activities ¶
Activities get activity list.
func (*Dao) MissionOnlineByTid ¶
func (d *Dao) MissionOnlineByTid(c context.Context, tid, plat int16) (mm []*activity.ActWithTP, err error)
MissionOnlineByTid fn
Click to show internal directories.
Click to hide internal directories.