ads_db

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdsDB added in v0.0.4

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

func New

func New(path string) (*AdsDB, error)

func (*AdsDB) GetAudio added in v0.0.4

func (db *AdsDB) GetAudio(seatID, itemID int) string

func (*AdsDB) GetBanner added in v0.0.4

func (db *AdsDB) GetBanner(
	seatID int,
	width,
	height int64,
) (string, error)

func (*AdsDB) GetNative added in v0.0.4

func (db *AdsDB) GetNative(seatID int) string

func (*AdsDB) GetSeat added in v0.0.4

func (db *AdsDB) GetSeat(seatID int) string

func (*AdsDB) GetVideo added in v0.0.4

func (db *AdsDB) GetVideo(seatID, itemID int) string

Jump to

Keyboard shortcuts

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