dbtypes

package
v0.0.0-...-d7aaee3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountList

type AccountList[T any] []T

AccountList represented in DB

func (*AccountList[T]) Merge

func (d *AccountList[T]) Merge(l any)

Merge loaded data

func (*AccountList[T]) Reset

func (d *AccountList[T]) Reset()

Reset stored data

func (AccountList[T]) Result

func (d AccountList[T]) Result() []T

Result of data as a list

func (*AccountList[T]) Target

func (d *AccountList[T]) Target() any

Target real of the list

type AccountType

type AccountType interface {
	GetID() uint64
	IsApproved() bool
}

type AdAssetList

type AdAssetList []*models.AdAsset

AdAssetList represented in DB

func (AdAssetList) IndexOf

func (d AdAssetList) IndexOf(id uint64) int

func (*AdAssetList) Merge

func (d *AdAssetList) Merge(l any)

Merge loaded data

func (*AdAssetList) Reset

func (d *AdAssetList) Reset()

Reset stored data

func (AdAssetList) Result

func (d AdAssetList) Result() []any

Result of data as a list

func (*AdAssetList) Target

func (d *AdAssetList) Target() any

Target real of the list

type AdList

type AdList []*models.Ad

AdList represented in DB

func (*AdList) Merge

func (d *AdList) Merge(l any)

Merge loaded data

func (*AdList) PrepareQuery

func (d *AdList) PrepareQuery(db *gorm.DB) *gorm.DB

func (*AdList) Reset

func (d *AdList) Reset()

Reset stored data

func (AdList) Result

func (d AdList) Result() []any

Result of data as a list

func (*AdList) Target

func (d *AdList) Target() any

Target real of the list

type ApplicationList

type ApplicationList []*models.Application

ApplicationList represented in DB

func (*ApplicationList) Merge

func (d *ApplicationList) Merge(l any)

Merge loaded data

func (*ApplicationList) Reset

func (d *ApplicationList) Reset()

Reset stored data

func (ApplicationList) Result

func (d ApplicationList) Result() []*models.Application

Result of data as a list

func (*ApplicationList) Target

func (d *ApplicationList) Target() any

Target real of the list

type CampaignList

type CampaignList []*models.Campaign

CampaignList represented in DB

func (*CampaignList) Merge

func (d *CampaignList) Merge(l any)

Merge loaded data

func (*CampaignList) PrepareQuery

func (d *CampaignList) PrepareQuery(db *gorm.DB) *gorm.DB

PrepareQuery for CampaignList

func (*CampaignList) Reset

func (d *CampaignList) Reset()

Reset stored data

func (CampaignList) Result

func (d CampaignList) Result() []*models.Campaign

Result of data as a list

func (*CampaignList) Target

func (d *CampaignList) Target() any

Target real of the list

type FormatList

type FormatList []*models.Format

FormatList represented in DB

func (*FormatList) Merge

func (d *FormatList) Merge(l any)

Merge loaded data

func (*FormatList) Reset

func (d *FormatList) Reset()

Reset stored data

func (FormatList) Result

func (d FormatList) Result() []*models.Format

Result of data as a list

func (*FormatList) Target

func (d *FormatList) Target() any

Target real of the list

type LinkList []*models.AdLink

LinkList represented in DB

func (*LinkList) Merge

func (d *LinkList) Merge(l any)

Merge loaded data

func (*LinkList) Reset

func (d *LinkList) Reset()

Reset stored data

func (LinkList) Result

func (d LinkList) Result() []any

Result of data as a list

func (*LinkList) Target

func (d *LinkList) Target() any

Target real of the list

type RTBAccessPointList

type RTBAccessPointList []*models.RTBAccessPoint

RTBAccessPointList represented in DB

func (*RTBAccessPointList) Merge

func (d *RTBAccessPointList) Merge(l any)

Merge loaded data

func (*RTBAccessPointList) PrepareQuery

func (d *RTBAccessPointList) PrepareQuery(db *gorm.DB) *gorm.DB

func (*RTBAccessPointList) Reset

func (d *RTBAccessPointList) Reset()

Reset stored data

func (RTBAccessPointList) Result

Result of data as a list

func (*RTBAccessPointList) Target

func (d *RTBAccessPointList) Target() any

Target real of the list

type RTBSourceList

type RTBSourceList []*models.RTBSource

RTBSourceList represented in DB

func (*RTBSourceList) Merge

func (d *RTBSourceList) Merge(l any)

Merge loaded data

func (*RTBSourceList) PrepareQuery

func (d *RTBSourceList) PrepareQuery(db *gorm.DB) *gorm.DB

PrepareQuery for RTBSourceList

func (*RTBSourceList) Reset

func (d *RTBSourceList) Reset()

Reset stored data

func (RTBSourceList) Result

func (d RTBSourceList) Result() []*models.RTBSource

Result of data as a list

func (*RTBSourceList) Target

func (d *RTBSourceList) Target() any

Target real of the list

type ZoneList

type ZoneList []*models.Zone

ZoneList represented in DB

func (*ZoneList) Merge

func (d *ZoneList) Merge(l any)

Merge loaded data

func (*ZoneList) Reset

func (d *ZoneList) Reset()

Reset stored data

func (ZoneList) Result

func (d ZoneList) Result() []*models.Zone

Result of data as a list

func (*ZoneList) Target

func (d *ZoneList) Target() any

Target real of the list

Jump to

Keyboard shortcuts

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