Documentation ¶
Overview ¶
Package tnpg implements push notification plugin for Tinode Push Gateway.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents state of TNPG push client.
func (Handler) Channel ¶ added in v0.16.8
func (Handler) Channel() chan<- *push.ChannelReq
Channel returns a channel that the server will use to send group requests to. If the adapter blocks, the message will be dropped.
func (Handler) Init ¶
func (Handler) Init(jsonconf json.RawMessage) (bool, error)
Init initializes the handler
Click to show internal directories.
Click to hide internal directories.