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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(c *conf.Config) (s *Service)

func (*Service) ANActive

func (s *Service) ANActive(c context.Context, imei, androidid, mac string, now time.Time) (err error)

func (*Service) ANClick

func (s *Service) ANClick(c context.Context, channel, imei, androidid, mac, cb string, ip uint32, now time.Time) (err error)

ANClick

func (*Service) Active

func (s *Service) Active(c context.Context, ip uint32, mid, rmac, mac, idfa, device string, now time.Time) (err error)

func (*Service) CBCDecrypt

func (s *Service) CBCDecrypt(src, key, iv []byte, p padding.Padding) ([]byte, error)

CBCDecrypt aes cbc decrypt.

func (*Service) Click

func (s *Service) Click(c context.Context, ip uint32, cid, mac, idfa, cb string, now time.Time) (err error)

Click

func (*Service) Exists

func (s *Service) Exists(c context.Context, idfa string) (exist bool, err error)

Jump to

Keyboard shortcuts

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