Documentation ¶
Index ¶
- type Dao
- func (d *Dao) CheckMedal(c context.Context, mid int64, name string) (valid int, err error)
- func (d *Dao) Medal(c context.Context, mid int64) (mdl *medal.Medal, err error)
- func (d *Dao) OpenMedal(c context.Context, mid int64, name string) (err error)
- func (d *Dao) Rank(c context.Context, mid int64) (rank []*medal.FansRank, err error)
- func (d *Dao) RecentFans(c context.Context, mid int64) (fans []*medal.RecentFans, err error)
- func (d *Dao) Rename(c context.Context, mid int64, name, ak, ck string) (err error)
- func (d *Dao) Status(c context.Context, mid int64) (st *medal.Status, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao define
func (*Dao) CheckMedal ¶
CheckMedal check medal name for up
func (*Dao) RecentFans ¶
RecentFans get a list of recent fans
Click to show internal directories.
Click to hide internal directories.