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