Documentation ¶
Index ¶
- Constants
- type RegisterClient
- func (r *RegisterClient) GetHUAWEIClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetIosCertClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetIosTokenClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetMEIZUClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetOPPOClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetPlatformClient(platform setting.PlatformType) (setting.PushClientInterface, error)
- func (r *RegisterClient) GetVIVOClient() (setting.PushClientInterface, error)
- func (r *RegisterClient) GetXIAOMIClient() (setting.PushClientInterface, error)
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)
Click to show internal directories.
Click to hide internal directories.