api

package
v0.0.0-...-02a6cbf Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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