push

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// 推荐的配置文件存放路径
	DefaultConfFile = "/usr/local/etc/go-push-sdk/setting.json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterClient

type RegisterClient struct {
	// contains filtered or unexported fields
}

func NewRegisterClient

func NewRegisterClient(configFilePath string) (*RegisterClient, error)

func NewRegisterClientWithConf

func NewRegisterClientWithConf(cfgJson string, platformType setting.PlatformType) (*RegisterClient, error)

func (*RegisterClient) GetHUAWEIClient

func (r *RegisterClient) GetHUAWEIClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetIosCertClient

func (r *RegisterClient) GetIosCertClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetIosTokenClient

func (r *RegisterClient) GetIosTokenClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetMEIZUClient

func (r *RegisterClient) GetMEIZUClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetOPPOClient

func (r *RegisterClient) GetOPPOClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetPlatformClient

func (r *RegisterClient) GetPlatformClient(platform setting.PlatformType) (setting.PushClientInterface, error)

func (*RegisterClient) GetVIVOClient

func (r *RegisterClient) GetVIVOClient() (setting.PushClientInterface, error)

func (*RegisterClient) GetXIAOMIClient

func (r *RegisterClient) GetXIAOMIClient() (setting.PushClientInterface, error)

Directories

Path Synopsis
common
crypt
加解密相关方法
加解密相关方法

Jump to

Keyboard shortcuts

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