pushapi

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 3 Imported by: 0

README

Go-Push-API

MiPush、JiPush、UMeng API Server SDK for Golang.

Go Reference GitHub GitHub go.mod Go version (branch)

MiPush

The Xiaomi message push service is a system-level channel on MIUI and is universal across the platform, which can provide developers with stable, reliable, and efficient push services.

JiPush

Aurora, push, authentication, SMS, magic chain RESTFul API Go SDK, including auroral push (JPush), auroral magic chain (JMLink), auroral SMS (JSMS), auroral authentication (JVerification) and other related open source projects.

Installation

go get -u -v github.com/houseme/go-push-api@main

Quick Start

package main

Contributors

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

License

The Go-Push-API is open-sourced software licensed under the MIT license.

Security

OSCS Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DealTopic

func DealTopic(builder *builder.Builder, params mi.Params) error

DealTopic 处理topic

func RevokeMessage

func RevokeMessage(builder *builder.Builder, params mi.Params) (*mi.Result, error)

RevokeMessage 消息退回

func SendMessage

func SendMessage(builder *builder.Builder, params mi.Params) (*mi.Result, error)

SendMessage 发送消息

func SubscribeTopicByRegID

func SubscribeTopicByRegID(builder *builder.Builder, params mi.Params) (*mi.Result, error)

SubscribeTopicByRegID 注册topic

Types

This section is empty.

Directories

Path Synopsis
internal
mi

Jump to

Keyboard shortcuts

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