push

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//DefaultConfFile 推荐的配置文件存放路径
	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
}

RegisterClient 厂商客户端连接

func NewRegisterClient

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

func NewRegisterClientMap added in v1.1.2

func NewRegisterClientMap(configMap map[string]map[string]string) (*RegisterClient, error)

func NewRegisterClientWithConf

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

func (*RegisterClient) GetHUAWEIClient

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

func (*RegisterClient) GetIosCertClient

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

func (*RegisterClient) GetIosTokenClient

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

func (*RegisterClient) GetMEIZUClient

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

func (*RegisterClient) GetOPPOClient

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

func (*RegisterClient) GetPlatformClient

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

func (*RegisterClient) GetVIVOClient

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

func (*RegisterClient) GetXIAOMIClient

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

Directories

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

Jump to

Keyboard shortcuts

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