Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CampaignManager ¶
type CampaignManager struct {
Db *sql.DB
Logger slog.Logger
// contains filtered or unexported fields
}
func NewCampaignManager ¶
func NewCampaignManager(db *sql.DB, logger slog.Logger) *CampaignManager
func (*CampaignManager) Run ¶
func (cm *CampaignManager) Run()
Run starts the campaign manager main blocking function must be executed in a go routine
func (*CampaignManager) StopCampaign ¶
func (cm *CampaignManager) StopCampaign(campaignUniqueId string)
this function gets called from the API server handlers, when user either pauses or cancels the campaign
type CampaignMessage ¶
Click to show internal directories.
Click to hide internal directories.