Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.9.0
VERSION=0.9.1
TARGETS_NOVENDOR=$(shell glide novendor)

all: bin/gaurun bin/gaurun_recover
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Gaurun [![GitHub release](https://img.shields.io/github/release/mercari/gaurun.svg?style=flat-square)][release] [![Travis](https://img.shields.io/travis/mercari/gaurun.svg?style=flat-square)][travis]

[release]: https://github.com/mercari/gaurun/releases
[release]: https://github.com/recruit-mp/gaurun/releases
[travis]: https://travis-ci.org/mercari/gaurun

<img src="https://raw.githubusercontent.com/mercari/gaurun/master/img/logo.png" alt="logo" align="right"/>


Gaurun is a general push notification server written in Golang. It proxies push requests to APNs and GCM/FCM and asynchronously executes them via HTTP/2. It helps you when you need to bulkly sends push notification to your users (e.g., when you need to exec 10 million push at once!) or when some other API server which must response quickly needs to push. Since it leverages Golang's powerful concurrent feature, it gives high performance.
Gaurun is a general push notification server written in Golang. It proxies push requests to APNs and GCM/FCM and asynchronously executes them via HTTP/2. It helps you when you need to bulkly sends push notification to your users (e.g., when you need to exec 10 million push at once!) or when some other API server which must response quickly needs to push. Since it leverages Golang's powerful concurrent feature, it gives high performance.

In addition to performance, it's important not to lost pushes over sever crashes or hardware failures. Gaurun can use its access log for kind of transaction journal and can re-push only failed notification later (We provide a special command for this. See [Usage](#usage)).
In addition to performance, it's important not to lost pushes over sever crashes or hardware failures. Gaurun can use its access log for kind of transaction journal and can re-push only failed notification later (We provide a special command for this. See [Usage](#usage)).

Currently we support the following platforms:

Expand All @@ -23,15 +23,15 @@ Production ready.

There are two way to install Gaurun; using a precompiled binary or install from source. Downloading a precompiled binary is easiest and recommended.

To install a precompiled binary, download the appropriate zip package for your OS and architecture from [here](https://github.com/mercari/gaurun/releases). Once the zip is downloaded, unzip it and place the binary where you want to use (if you want to access it from the command-line, make sure to put it on `$PATH`).
To install a precompiled binary, download the appropriate zip package for your OS and architecture from [here](https://github.com/recruit-mp/gaurun/releases). Once the zip is downloaded, unzip it and place the binary where you want to use (if you want to access it from the command-line, make sure to put it on `$PATH`).

To compile from source, you need Go1.8 or later (including `$GOPATH` setup) and [glide](https://github.com/Masterminds/glide) for dependency management. After setup, then clone the source code by running the following command,

```bash
$ mkdir -p $GOPATH/src/github.com/mercari
$ cd $GOPATH/src/github.com/mercari
$ git clone https://github.com/mercari/gaurun
```
$ git clone https://github.com/recruit-mp/gaurun
```

To fetch dependencies and build, run the following make tasks,

Expand Down
2 changes: 1 addition & 1 deletion cmd/gaurun/gaurun.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"syscall"
"time"

"github.com/mercari/gaurun/gaurun"
"github.com/recruit-mp/gaurun/gaurun"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions cmd/gaurun_recover/gaurun_recover.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"sync"
"time"

"github.com/mercari/gaurun/gaurun"
"github.com/mercari/gaurun/gcm"
"github.com/recruit-mp/gaurun/gaurun"
"github.com/recruit-mp/gaurun/gcm"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion gaurun/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/mercari/gaurun/gcm"
"github.com/recruit-mp/gaurun/gcm"
)

func keepAliveInterval(keepAliveTimeout int) int {
Expand Down
2 changes: 1 addition & 1 deletion gaurun/const.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gaurun

const (
Version = "0.9.0"
Version = "0.9.1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion gaurun/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gaurun
import (
"net/http"

"github.com/mercari/gaurun/gcm"
"github.com/recruit-mp/gaurun/gcm"

"go.uber.org/zap"
)
Expand Down
2 changes: 1 addition & 1 deletion gaurun/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"

"github.com/mercari/gaurun/gcm"
"github.com/recruit-mp/gaurun/gcm"

"go.uber.org/zap"
)
Expand Down
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package: github.com/mercari/gaurun
package: github.com/recruit-mp/gaurun
import:
- package: github.com/BurntSushi/toml
version: v0.2.0
Expand Down