fcm

package
v0.0.0-...-e1bfb01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFCMDispatcher

func NewFCMDispatcher(appIDApiKey string, jsonDataKey string) (push.Dispatcher, error)

Types

type Dispatcher

type Dispatcher struct {
	// contains filtered or unexported fields
}

func (*Dispatcher) CanDispatch

func (d *Dispatcher) CanDispatch(pushDestination *proto.PushDestination) bool

func (*Dispatcher) Dispatch

func (d *Dispatcher) Dispatch(pushData *proto.PushData, pushDestination *proto.PushDestination) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL