Documentation ¶
Overview ¶
Package service retrieves push details from storage and sends MDM push notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIdNotFound = errors.New("push data missing for id")
Functions ¶
This section is empty.
Types ¶
type PushService ¶
type PushService struct {
// contains filtered or unexported fields
}
PushService uses PushStore to retrieve Push details for MDM enrollments and send APNs pushes using a PushProvider.
func New ¶
func New(store storage.PushStore, certStore storage.PushCertStore, providerFactory push.PushProviderFactory, logger log.Logger) *PushService
NewPushService creates a new PushService.
Click to show internal directories.
Click to hide internal directories.