Documentation
¶
Index ¶
Constants ¶
View Source
const (
NilCallID = CallID("")
)
Variables ¶
This section is empty.
Functions ¶
func RegisterClientType ¶
func RegisterClientType(channelType models.ChannelType, constructor ClientConstructor)
RegisterClientType registers the passed in channel type with the passed in constructor
func RequestCallStart ¶
func RequestCallStart(ctx context.Context, config *config.Config, db *sqlx.DB, org *models.OrgAssets, start *models.FlowStart, c *models.Contact) (*models.ChannelSession, error)
RequestCallStart creates a new ChannelSession for the passed in flow start and contact, returning the created session
Types ¶
type ClientConstructor ¶
ClientConstructor defines our signature for creating a new IVR client from a channel
Click to show internal directories.
Click to hide internal directories.