jpush

package
v3.3.3-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JPush

type JPush struct{}

func NewClient

func NewClient() *JPush

func (*JPush) Auth

func (j *JPush) Auth(apiKey, secretKey string, timeStamp int64) (token string, err error)

func (*JPush) Push

func (j *JPush) Push(ctx context.Context, userIDs []string, title, content string, opts *offlinepush.Opts) error

func (*JPush) SetAlias

func (j *JPush) SetAlias(cid, alias string) (resp string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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