Skip to content

yuchan/mpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpush

Push Notification Server written by Go.

Prerequisite

  • prepare cert.pem, and key.pem along with this guide

Usage

move to the directory where cert.pem and key.pem exist.

  • download binary
  • execute mpush binary (e.g. ./mpush)

you should install API client, like Postman, CocoaRestClient.

on client

you can create request like this.

ClientImage

API Spec

parameters

key value required
token comma separated token list yes
body message body yes
badge badge number (default: 0) no
sound sound file name no
custom json formatted text for custom payload no

Contribution

prepare

$ go get github.com/tools/godep
$ godep restore

Before you send pull request, I'd like you to type "go fmt *.go". :3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages