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