push_msg_service

package
v0.0.0-...-dc24fe2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PushTokenCachePrefix = "push-token-"
)

Variables

This section is empty.

Functions

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL