2022-11-23 19:32:23 +01:00
|
|
|
package push
|
|
|
|
|
|
|
|
import (
|
|
|
|
"blackforestbytes.com/simplecloudnotifier/models"
|
|
|
|
"context"
|
|
|
|
_ "embed"
|
|
|
|
)
|
|
|
|
|
|
|
|
type DummyConnector struct{}
|
|
|
|
|
2022-11-25 22:42:21 +01:00
|
|
|
func NewDummy() NotificationClient {
|
|
|
|
return &DummyConnector{}
|
2022-11-23 19:32:23 +01:00
|
|
|
}
|
|
|
|
|
2023-05-27 20:02:16 +02:00
|
|
|
func (d DummyConnector) SendNotification(ctx context.Context, client models.Client, msg models.Message, compatTitleOverride *string) (string, error) {
|
2022-11-23 19:32:23 +01:00
|
|
|
return "%DUMMY%", nil
|
|
|
|
}
|