Documentation ¶
Overview ¶
The client package implements the Ubuntu Push Notifications client-side daemon.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the Ubuntu Push Notifications client-side daemon.
type ClientConfig ¶
type ClientConfig struct { connectivity.ConnectivityConfig // q.v. // A reasonably larg timeout for receive/answer pairs ExchangeTimeout config.ConfigTimeDuration `json:"exchange_timeout"` // The server to connect to Addr config.ConfigHostPort // The PEM-encoded server certificate CertPEMFile string `json:"cert_pem_file"` // The logging level (one of "debug", "info", "error") LogLevel string `json:"log_level"` }
ClientConfig holds the client configuration
Directories ¶
Path | Synopsis |
---|---|
The client/session package handles the minutiae of interacting with the Ubuntu Push Notifications server.
|
The client/session package handles the minutiae of interacting with the Ubuntu Push Notifications server. |
levelmap
levelmap holds an implementation of the LevelMap that the client session uses to keep track of what messages it has seen.
|
levelmap holds an implementation of the LevelMap that the client session uses to keep track of what messages it has seen. |
Click to show internal directories.
Click to hide internal directories.