push_fcm

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_BUFFER = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type FcmPush

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

func (FcmPush) Init

func (FcmPush) Init(jsonconf string) error

Initialize the handler

func (FcmPush) IsReady

func (FcmPush) IsReady() bool

Initialize the handler

func (FcmPush) Push

func (FcmPush) Push() chan<- *push.Receipt

Push return a channel that the server will use to send messages to. If the adapter blocks, the message will be dropped.

func (FcmPush) Stop

func (FcmPush) Stop()

Jump to

Keyboard shortcuts

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