🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/xialeistudio/go-baidu-push

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/xialeistudio/go-baidu-push

v0.0.0-20180331064454-77ebdc037282
Source
Go
Version published
Created
Source

Baidu-Push Golang SDK

Developed with golang, no other dependencies. official site

ATTENTION

DO NOT TEST PushAll IN PRODUCTION ENVIRONMENT!!!

Features

Push

  • PushSingleDevice
  • PushAll
  • PushTags
  • PushBatchDevice

Query

  • QueryMsgStatus
  • QueryTimerRecords

Tag

  • QueryTags
  • CreateTag
  • AddDevices
  • DelDevices
  • DeviceNum
  • DelTag

Timer

  • QueryList
  • Cancel

Topic

  • QueryList

Statistic

  • Device
  • Topic

Unit Test

  • Setup environment CHANNELID,APIKEY,SECRETKEY
  • Change following params in client_test.go
    var msgId = "2683796311873830912"
    var tag = "admin_ios"
    var timerId = "7244807349359244772"
    
  • go test

FAQs

Package last updated on 31 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts