This commit is contained in:
pluto
2023-07-14 18:59:28 +08:00
committed by GitHub
parent e8229700e9
commit 887267e62d
2 changed files with 4 additions and 3 deletions
@@ -18,10 +18,12 @@ import (
"context"
)
// OfflinePusher Offline Pusher
type OfflinePusher interface {
Push(ctx context.Context, userIDs []string, title, content string, opts *Opts) error
}
// Opts opts
type Opts struct {
Signal *Signal
IOSPushSound string
@@ -29,6 +31,7 @@ type Opts struct {
Ex string
}
// Signal message id
type Signal struct {
ClientMsgID string
}