Documentation
¶
Index ¶
Constants ¶
View Source
const (
PushTokenCachePrefix = "push-token-"
)
Variables ¶
This section is empty.
Functions ¶
func GetPushRequest ¶
func GetPushRequest(appMsg *push_msg_args.PushMessageArgs) *pushSdkSetting.PushMessageRequest
func PutPushRequest ¶
func PutPushRequest(obj *pushSdkSetting.PushMessageRequest)
Types ¶
type PushAppMsgService ¶
type PushAppMsgService struct {
// contains filtered or unexported fields
}
func NewPushAppMsgService ¶
func NewPushAppMsgService() *PushAppMsgService
func (*PushAppMsgService) GetAccessToken ¶
func (p *PushAppMsgService) GetAccessToken(ctx context.Context, client pushSdkSetting.PushClientInterface, appPkgName string, platform string) (string, error)
func (*PushAppMsgService) PushAppMsg ¶
func (p *PushAppMsgService) PushAppMsg(ctx context.Context, data string) error
func (*PushAppMsgService) PushAppMsgErr ¶
func (p *PushAppMsgService) PushAppMsgErr(ctx context.Context, errMsg, data string) error
Click to show internal directories.
Click to hide internal directories.