Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateBroker(token *string, broker model.Broker) (result model.Broker, err error)
- func (c *Client) CreateNotification(token *string, notification model.Notification, ...) (result model.Notification, err error)
- func (c *Client) DeleteFcmToken(token *string, fcmToken string) (err error)
- func (c *Client) DeleteMultipleBrokers(token *string, ids []string) (err error)
- func (c *Client) DeleteMultipleNotifications(token *string, ids []string) (err error)
- func (c *Client) DeletePlatformBroker(token *string) (err error)
- func (c *Client) GetPlatformBroker(token *string) (platformBroker model.PlatformBroker, err error)
- func (c *Client) GetSettings(token *string) (settings model.Settings, err error)
- func (c *Client) ListBrokers(token *string, options persistence.ListOptions) (result model.BrokerList, err error)
- func (c *Client) ListNotifications(token *string, options persistence.ListOptions, channel model.Channel) (result model.NotificationList, err error)
- func (c *Client) PutFcmToken(token *string, fcmToken string) (err error)
- func (c *Client) ReadBroker(token *string, id string) (result model.Broker, err error)
- func (c *Client) ReadNotification(token *string, id string) (result model.Notification, err error)
- func (c *Client) SetBroker(token *string, broker model.Broker) (result model.Broker, err error)
- func (c *Client) SetNotification(token *string, notification model.Notification) (result model.Notification, err error)
- func (c *Client) SetPlatformBroker(token *string, platformBroker model.PlatformBroker) (result model.PlatformBroker, err error)
- func (c *Client) SetSettings(token *string, settings model.Settings) (result model.Settings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateBroker ¶
func (*Client) CreateNotification ¶
func (c *Client) CreateNotification(token *string, notification model.Notification, ignoreDuplicatesWithinSeconds *int64) (result model.Notification, err error)
func (*Client) DeleteFcmToken ¶
func (*Client) DeleteMultipleBrokers ¶
func (*Client) DeleteMultipleNotifications ¶
func (*Client) DeletePlatformBroker ¶
func (*Client) GetPlatformBroker ¶
func (c *Client) GetPlatformBroker(token *string) (platformBroker model.PlatformBroker, err error)
func (*Client) GetSettings ¶
func (*Client) ListBrokers ¶
func (c *Client) ListBrokers(token *string, options persistence.ListOptions) (result model.BrokerList, err error)
func (*Client) ListNotifications ¶
func (c *Client) ListNotifications(token *string, options persistence.ListOptions, channel model.Channel) (result model.NotificationList, err error)
func (*Client) PutFcmToken ¶
func (*Client) ReadBroker ¶
func (*Client) ReadNotification ¶
func (*Client) SetNotification ¶
func (c *Client) SetNotification(token *string, notification model.Notification) (result model.Notification, err error)
func (*Client) SetPlatformBroker ¶
func (c *Client) SetPlatformBroker(token *string, platformBroker model.PlatformBroker) (result model.PlatformBroker, err error)
Click to show internal directories.
Click to hide internal directories.