delivery

package
v0.0.0-...-7e5df9d Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(router *gin.Engine)

Routes has all the delivery routes

func UpdateActiveCampaignsCache

func UpdateActiveCampaignsCache()

UpdateActiveCampaignsCache regularly updates the campaignsCache object for delivery

Types

type CampaignDeliver

type CampaignDeliver struct {
	Campaign  string        `json:"campaign" binding:"required"`
	Creatives []interface{} `json:"creatives" binding:"required"`
}

CampaignDeliver is structure to store campaign details for delivery

Jump to

Keyboard shortcuts

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