Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoyty authored and BanTanger committed Jul 25, 2023
1 parent 1bfa5f1 commit 03f576f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.18
require (
firebase.google.com/go v3.13.0+incompatible
github.com/OpenIMSDK/open_utils v1.0.8
github.com/Shopify/sarama v1.32.0
github.com/Shopify/sarama v1.29.0
github.com/bwmarrin/snowflake v0.3.0
github.com/dtm-labs/rockscache v0.1.1
github.com/gin-gonic/gin v1.9.1
Expand Down Expand Up @@ -141,5 +141,3 @@ require (
google.golang.org/genproto v0.0.0-20230525234025-438c736192d0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)

replace github.com/Shopify/sarama => github.com/Shopify/sarama v1.29.0
3 changes: 3 additions & 0 deletions internal/push/offlinepush/offlinepush_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ 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
IOSBadgeCount bool
Ex string
}

// Signal message id
type Signal struct {
ClientMsgID string
}

0 comments on commit 03f576f

Please sign in to comment.