Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApnsDelivery ¶
type ApnsDelivery struct {
// contains filtered or unexported fields
}
func NewApnsDelivery ¶
func NewApnsDelivery(logger *zap.Logger, opts options.ApnsOptions) (*ApnsDelivery, error)
func (ApnsDelivery) CanDeliver ¶
func (a ApnsDelivery) CanDeliver(req interfaces.SendRequest) bool
func (ApnsDelivery) Send ¶
func (a ApnsDelivery) Send(ctx context.Context, req interfaces.SendRequest) error
type FcmDelivery ¶
type FcmDelivery struct {
// contains filtered or unexported fields
}
func NewFcmDelivery ¶
func NewFcmDelivery(ctx context.Context, logger *zap.Logger, opts options.FcmOptions) (*FcmDelivery, error)
func (FcmDelivery) CanDeliver ¶
func (f FcmDelivery) CanDeliver(req interfaces.SendRequest) bool
func (FcmDelivery) Send ¶
func (f FcmDelivery) Send(ctx context.Context, req interfaces.SendRequest) error
type HttpDelivery ¶
type HttpDelivery struct {
// contains filtered or unexported fields
}
func NewHttpDelivery ¶
func NewHttpDelivery(logger *zap.Logger, opts options.HttpDeliveryOptions) *HttpDelivery
func (HttpDelivery) CanDeliver ¶
func (h HttpDelivery) CanDeliver(req interfaces.SendRequest) bool
func (HttpDelivery) Send ¶
func (h HttpDelivery) Send(ctx context.Context, req interfaces.SendRequest) error
Click to show internal directories.
Click to hide internal directories.