Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.4.0
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶ added in v0.4.0
func NewClient(configures ...ClientConfigure) *Client
func (*Client) SendNotification ¶ added in v0.4.0
func (c *Client) SendNotification(ctx context.Context, request *SendNotificationRequest) (*SendNotificationResponse, error)
type ClientConfigure ¶ added in v0.4.0
type ClientConfigure func(*Client)
func WithLogger ¶ added in v0.4.0
func WithLogger(logger *slog.Logger) ClientConfigure
type NotifyService ¶
type NotifyService struct{}
func NewNotifyService ¶
func NewNotifyService() *NotifyService
func (*NotifyService) TestPush ¶ added in v0.4.0
func (n *NotifyService) TestPush(ctx context.Context, req *dtos.NotifyTestPushReq) error
type SendNotificationRequest ¶ added in v0.4.0
type SendNotificationResponse ¶ added in v0.4.0
type SendNotificationResponse struct{}
Click to show internal directories.
Click to hide internal directories.