Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRecipientById ¶
func GetRecipientById(dbLayer db.Layer) gin.HandlerFunc
GetRecipientById returns a list containing one recipient based on provided id
func GetRecipients ¶
func GetRecipients(dbLayer db.Layer) gin.HandlerFunc
GetRecipients returns a list of recipients based on provided name, email or phone number, otherwise all recipients will be returned
func PostEvent ¶
func PostEvent(dbLayer db.Layer) gin.HandlerFunc
PostEvent creates or updates event in the database based on the provided recipient_id, video_id and event_type
func PostRecipient ¶
func PostRecipient(dbLayer db.Layer) gin.HandlerFunc
PostRecipient creates a new recipient in the database based on the provided name, email and phone number
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.