timeouts

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartTimeoutCron

func StartTimeoutCron(mr *mailroom.Mailroom) error

StartTimeoutCron starts our cron job of continuing timed out sessions every minute

Types

type Timeout

type Timeout struct {
	OrgID     models.OrgID     `db:"org_id"`
	FlowID    models.FlowID    `db:"flow_id"`
	ContactID flows.ContactID  `db:"contact_id"`
	SessionID models.SessionID `db:"session_id"`
	TimeoutOn time.Time        `db:"timeout_on"`
}

Jump to

Keyboard shortcuts

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