You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/internal/push/push_interface.go

19 lines
304 B

package push
2 years ago
import "context"
3 years ago
type OfflinePusher interface {
2 years ago
Push(ctx context.Context, userIDs []string, title, content string, opts *Opts) error
}
2 years ago
type Opts struct {
Signal *Signal
2 years ago
IOSPushSound string
IOSBadgeCount bool
2 years ago
Ex string
}
type Signal struct {
ClientMsgID string
}