resource

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 str

func New

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

New str

func (*Dao) Banner

func (d *Dao) Banner(c context.Context, mobiApp, device, network, channel, ip, buvid, adExtra, resIDStr string, build int, plat int8, mid int64, isAd bool) (res map[int][]*resmdl.Banner, err error)

Banner get search banner

func (*Dao) Resource

func (d *Dao) Resource(c context.Context, resID int) (aidMap map[int64]struct{}, err error)

Resource get resource

func (*Dao) SimpleResource

func (d *Dao) SimpleResource(c context.Context, resID int) (res *resmdl.Resource, err error)

SimpleResource simple resource

Jump to

Keyboard shortcuts

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