Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyUserCountsAsync ¶
func NotifyUserCountsAsync(ctx context.Context, pgClient pushgateway.Client, localpart string, db storage.Database) error
NotifyUserCountsAsync sends notifications to a local user's notification destinations. Database lookups run synchronously, but a single goroutine is started when talking to the Push gateways. There is no way to know when the background goroutine has finished.
func StartPhoneHomeCollector ¶ added in v0.8.3
Types ¶
type PusherDevice ¶
func GetPushDevices ¶
func GetPushDevices(ctx context.Context, localpart string, tweaks map[string]interface{}, db storage.Database) ([]*PusherDevice, error)
GetPushDevices pushes to the configured devices of a local user.
Click to show internal directories.
Click to hide internal directories.