Documentation
¶
Index ¶
- type KarmaFCMSNS
- func (k *KarmaFCMSNS) CreateApplicationPlatformEndpoint(user_data, token string) (string, error)
- func (k *KarmaFCMSNS) DeleteApplicationPlatformEndpoint(endpoint_arn string) error
- func (k *KarmaFCMSNS) GetEndpointARNByUserData(user_data string) string
- func (k *KarmaFCMSNS) GetEndpointAttributes(endpoint_arn string)
- func (k *KarmaFCMSNS) ListAllEndpointARNs() []string
- func (k *KarmaFCMSNS) PublishGCMMessage(user_data, message string) error
- func (k *KarmaFCMSNS) PublishGCMMessageToAllEndpoints(message string) error
- func (k *KarmaFCMSNS) PublishGCMMessageWithArn(endpoint_arn, message string) error
- type KarmaSNS
- func (k *KarmaSNS) CreateTopic(topicName string) string
- func (k *KarmaSNS) DeleteTopic(topicArn string)
- func (k *KarmaSNS) GetAllTopic() []string
- func (k *KarmaSNS) PublishToTopic(topicArn, message string)
- func (k *KarmaSNS) SubscribeToTopic(topicArn, protocol, endpoint string) string
- func (k *KarmaSNS) UnsubscribeFromTopic(subscriptionArn string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KarmaFCMSNS ¶
func NewFCM ¶
func NewFCM(arn ...string) *KarmaFCMSNS
func (*KarmaFCMSNS) CreateApplicationPlatformEndpoint ¶
func (k *KarmaFCMSNS) CreateApplicationPlatformEndpoint(user_data, token string) (string, error)
func (*KarmaFCMSNS) DeleteApplicationPlatformEndpoint ¶
func (k *KarmaFCMSNS) DeleteApplicationPlatformEndpoint(endpoint_arn string) error
func (*KarmaFCMSNS) GetEndpointARNByUserData ¶
func (k *KarmaFCMSNS) GetEndpointARNByUserData(user_data string) string
func (*KarmaFCMSNS) GetEndpointAttributes ¶
func (k *KarmaFCMSNS) GetEndpointAttributes(endpoint_arn string)
func (*KarmaFCMSNS) ListAllEndpointARNs ¶ added in v1.6.55
func (k *KarmaFCMSNS) ListAllEndpointARNs() []string
func (*KarmaFCMSNS) PublishGCMMessage ¶
func (k *KarmaFCMSNS) PublishGCMMessage(user_data, message string) error
func (*KarmaFCMSNS) PublishGCMMessageToAllEndpoints ¶ added in v1.6.55
func (k *KarmaFCMSNS) PublishGCMMessageToAllEndpoints(message string) error
func (*KarmaFCMSNS) PublishGCMMessageWithArn ¶ added in v1.6.54
func (k *KarmaFCMSNS) PublishGCMMessageWithArn(endpoint_arn, message string) error
type KarmaSNS ¶
func (*KarmaSNS) CreateTopic ¶
func (*KarmaSNS) DeleteTopic ¶
func (*KarmaSNS) GetAllTopic ¶
func (*KarmaSNS) PublishToTopic ¶
func (*KarmaSNS) SubscribeToTopic ¶
func (*KarmaSNS) UnsubscribeFromTopic ¶
Click to show internal directories.
Click to hide internal directories.