Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendPushForTxs ¶
func SendPushForTxs(ptdb *db.PushTokenDB, fb *PushService, ev *indexer.Event, txs []*indexer.Transfer)
Types ¶
type PushService ¶
func NewPushService ¶
func NewPushService(ctx context.Context, path string) *PushService
func (*PushService) Send ¶
func (s *PushService) Send(push *indexer.PushMessage) ([]string, error)
Send sends a push notification to the given tokens. Returns the tokens to be removed.
Click to show internal directories.
Click to hide internal directories.