Documentation ¶
Index ¶
- type Dao
- func (d *Dao) GetArchiveByMID(c context.Context, query string) (ids []int64, err error)
- func (d *Dao) NewRequest(c context.Context, url, realIP string, params url.Values, res interface{}) (err error)
- func (d *Dao) Send(c context.Context, query string) (infos []*model.ArchiveInfo, err error)
- func (d *Dao) SendBGMRequest(c context.Context, query string) (infos []*income.BGM, err error)
- func (d *Dao) SendBasicDataRequest(c context.Context, query string) (ok bool, err error)
- func (d *Dao) SendSpyRequest(c context.Context, query string) (infos []*model.Spy, 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 is redis dao.
func (*Dao) GetArchiveByMID ¶
GetArchiveByMID get archive id by mid
func (*Dao) NewRequest ¶
func (d *Dao) NewRequest(c context.Context, url, realIP string, params url.Values, res interface{}) (err error)
NewRequest new http request with method, url, ip, values and headers.
func (*Dao) SendBGMRequest ¶
SendBGMRequest get bgm infos
func (*Dao) SendBasicDataRequest ¶
SendBasicDataRequest get basic data status
Click to show internal directories.
Click to hide internal directories.