Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFailedSendNotification = errors.New("failed to send notification")
)
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
Instance notification.Notification
}
func (*Repository) Clear ¶
func (repo *Repository) Clear()
func (*Repository) Notification ¶
func (repo *Repository) Notification() (notification.Notification, bool)
func (*Repository) SetNotification ¶
func (repo *Repository) SetNotification(instance notification.Notification)
type V1 ¶
type V1 struct {
plugin.Facade
grpcnotification1.NotificationServicePluginClient
}
func (*V1) Send ¶
func (v1 *V1) Send( ctx context.Context, req *notification.SendNotificationRequest, ) (*notification.SendNotificationResponse, error)
func (*V1) ServiceInfo ¶
Click to show internal directories.
Click to hide internal directories.