example

package
v0.0.2-0...-8cf51ff Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: AGPL-3.0-or-later Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AD struct {
	Title       string
	Description string
	Creatives   []*Creative
}

type Creative

type Creative struct {
	Image string
	Icon  string
}

type ListAdCommand

type ListAdCommand struct {
	LineitemID string
	ADNID      int
	UnitID     int
	User       User
}

type UseCase

type UseCase struct{}

func (*UseCase) GetAd

func (u *UseCase) GetAd(lineitemID string, adnID int) *AD

GetAd is get ad. in example

func (*UseCase) ListAd

func (u *UseCase) ListAd(command *ListAdCommand) []*AD

type User

type User struct {
	IFA string
	IP  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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