notification

package
v0.0.0-...-429728b Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	//NotifyTopic send a notification to a defined topic
	NotifyTopic(text string) error
	//NotifyMobile send a notification to a mobile phone
	NotifyMobile(text string, phone string) error
}

Service provide operations for notification

func NewService

func NewService(api wrapper.SNSAPI, topic string) Service

NewService builds a new notification service

Directories

Path Synopsis
Package mock_notification is a generated GoMock package.
Package mock_notification is a generated GoMock package.

Jump to

Keyboard shortcuts

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