Documentation ¶
Index ¶
- type APNS
- func (apns *APNS) ConvertMessage(data []byte) (smsg services.ServiceMessage, err error)
- func (apns *APNS) ID() string
- func (apns *APNS) Logger() *slog.Logger
- func (apns *APNS) NewClient() (pclient services.PumpClient, err error)
- func (apns *APNS) PushMessage(pclient services.PumpClient, smsg services.ServiceMessage, ...) (status services.PushStatus)
- func (apns *APNS) SquashAndPushMessage(client services.PumpClient, smsgs []services.ServiceMessage, ...) services.PushStatus
- func (apns *APNS) String() string
- func (apns *APNS) Validate(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APNS ¶
type APNS struct {
// contains filtered or unexported fields
}
APNS ...
func (*APNS) ConvertMessage ¶
func (apns *APNS) ConvertMessage(data []byte) (smsg services.ServiceMessage, err error)
func (*APNS) PushMessage ¶
func (apns *APNS) PushMessage(pclient services.PumpClient, smsg services.ServiceMessage, fc services.FeedbackCollector) (status services.PushStatus)
func (*APNS) SquashAndPushMessage ¶
func (apns *APNS) SquashAndPushMessage(client services.PumpClient, smsgs []services.ServiceMessage, fc services.FeedbackCollector) services.PushStatus
Click to show internal directories.
Click to hide internal directories.