package
Version:
v0.16.5-beta6
Opens a new window with list of versions in this module.
Published: Mar 30, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tnpg implements push notification plugin for Tinode Push Gateway.
func (Handler) Init ¶
Init initializes the handler
IsReady checks if the handler is initialized.
func (Handler) Push ¶
Push returns a channel that the server will use to send messages to.
If the adapter blocks, the message will be dropped.
func (Handler) Stop ¶
Stop terminates the handler's worker and stops sending pushes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.