chore: git cache cleanup
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package notifications
|
||||
|
||||
import "context"
|
||||
|
||||
const (
|
||||
EngineLegacy = "legacy"
|
||||
EngineNotifyV1 = "notify_v1"
|
||||
)
|
||||
|
||||
type DispatchRequest struct {
|
||||
ProviderID string
|
||||
Type string
|
||||
URL string
|
||||
Title string
|
||||
Message string
|
||||
Data map[string]any
|
||||
}
|
||||
|
||||
type DeliveryEngine interface {
|
||||
Name() string
|
||||
Send(ctx context.Context, req DispatchRequest) error
|
||||
Test(ctx context.Context, req DispatchRequest) error
|
||||
}
|
||||
Reference in New Issue
Block a user