mission

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

Documentation

Index

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 is mission dao.

func New

func New(c *conf.Config) (d *Dao)

New new a mission dao.

func (*Dao) MissionOnlineByTid

func (d *Dao) MissionOnlineByTid(c context.Context, tid int16) (mm map[int]*mission.Mission, err error)

MissionOnlineByTid fn, 这里默认会返回所有无投稿分区限制要求的通用活动,在做校验的时候允许此类活动投稿到任意分区

func (*Dao) Missions

func (d *Dao) Missions(c context.Context) (mm map[int]*mission.Mission, err error)

Missions get missions.

func (*Dao) Ping

func (d *Dao) Ping(c context.Context) (err error)

Ping ping success.

Jump to

Keyboard shortcuts

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