feat: use dummy pusher by default (#1349)

This commit is contained in:
a3d21
2023-11-07 10:44:08 +08:00
committed by GitHub
parent 815fa15392
commit 297a8db788
2 changed files with 20 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package dummy
import (
"context"
"github.com/openimsdk/open-im-server/v3/internal/push/offlinepush"
)
func NewClient() *Dummy {
return &Dummy{}
}
type Dummy struct {
}
func (d *Dummy) Push(ctx context.Context, userIDs []string, title, content string, opts *offlinepush.Opts) error {
return nil
}