offer

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: 6 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 wall dao.

func New

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

func (*Dao) ANActive

func (d *Dao) ANActive(c context.Context, androidid, imei, gdtImei string) (count int, err error)

func (*Dao) ANCallback

func (d *Dao) ANCallback(c context.Context, androidid, imei, gdtImei string) (id int64, channel, cb string, typ int, err error)

func (*Dao) ANClickAct

func (d *Dao) ANClickAct(c context.Context, id int64, typ int) (row int64, err error)

func (*Dao) Callback

func (d *Dao) Callback(ctx context.Context, idfa, gdtIdfa string, now time.Time) (cid, cb string, err error)

func (*Dao) Exists

func (d *Dao) Exists(ctx context.Context, idfa string) (exist bool, err error)

func (*Dao) InANClick

func (d *Dao) InANClick(c context.Context, channel, imei, androidid, mac, cb string, ip uint32, now time.Time) (row int64, err error)

func (*Dao) InActive

func (d *Dao) InActive(ctx context.Context, ip uint32, mid, rmac, mac, idfa, device string, now time.Time) (row int64, err error)

func (*Dao) InClick

func (d *Dao) InClick(ctx context.Context, ip uint32, cid, mac, idfa, cb string, now time.Time) (row int64, err error)

func (*Dao) RMacCount

func (d *Dao) RMacCount(ctx context.Context, rmac string) (count int, err error)

func (*Dao) UpIdfaActive

func (d *Dao) UpIdfaActive(ctx context.Context, idfaAct, idfa string, now time.Time) (row int64, err error)

Jump to

Keyboard shortcuts

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