Documentation
¶
Index ¶
- func MapMailToNotificationChannel(mail request.MailNotificationChannelRequest) models.NotificationChannel
- func MapMattermostToNotificationChannel(mail request.MattermostNotificationChannelRequest) models.NotificationChannel
- func MapNotificationChannelToMail(channel models.NotificationChannel) request.MailNotificationChannelRequest
- func MapNotificationChannelToMattermost(channel models.NotificationChannel) response.MattermostNotificationChannelResponse
- func MapNotificationChannelsToMailWithEmptyPassword(channels []models.NotificationChannel) []request.MailNotificationChannelRequest
- func MapNotificationChannelsToMattermost(channels []models.NotificationChannel) []response.MattermostNotificationChannelResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapMailToNotificationChannel ¶
func MapMailToNotificationChannel(mail request.MailNotificationChannelRequest) models.NotificationChannel
func MapMattermostToNotificationChannel ¶
func MapMattermostToNotificationChannel(mail request.MattermostNotificationChannelRequest) models.NotificationChannel
func MapNotificationChannelToMail ¶
func MapNotificationChannelToMail(channel models.NotificationChannel) request.MailNotificationChannelRequest
MapNotificationChannelToMail maps NotificationChannel to MailNotificationChannelRequest.
func MapNotificationChannelToMattermost ¶
func MapNotificationChannelToMattermost(channel models.NotificationChannel) response.MattermostNotificationChannelResponse
MapNotificationChannelToMattermost maps NotificationChannel to MattermostNotificationChannelRequest.
func MapNotificationChannelsToMailWithEmptyPassword ¶
func MapNotificationChannelsToMailWithEmptyPassword(channels []models.NotificationChannel) []request.MailNotificationChannelRequest
MapNotificationChannelsToMailWithEmptyPassword maps a slice of NotificationChannel to MailNotificationChannelRequest.
func MapNotificationChannelsToMattermost ¶
func MapNotificationChannelsToMattermost(channels []models.NotificationChannel) []response.MattermostNotificationChannelResponse
MapNotificationChannelsToMattermost maps a slice of NotificationChannel to MattermostNotificationChannelRequest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.