diff --git a/Makefile b/Makefile index 5afb88b..8e2b8ba 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=0.9.0 +VERSION=0.9.1 TARGETS_NOVENDOR=$(shell glide novendor) all: bin/gaurun bin/gaurun_recover diff --git a/README.md b/README.md index aeddbb0..9bb0298 100644 --- a/README.md +++ b/README.md @@ -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 logo -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: @@ -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, diff --git a/cmd/gaurun/gaurun.go b/cmd/gaurun/gaurun.go index db4facc..1e92f0a 100644 --- a/cmd/gaurun/gaurun.go +++ b/cmd/gaurun/gaurun.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "github.com/mercari/gaurun/gaurun" + "github.com/recruit-mp/gaurun/gaurun" ) const ( diff --git a/cmd/gaurun_recover/gaurun_recover.go b/cmd/gaurun_recover/gaurun_recover.go index cffefa2..c3f9ddf 100644 --- a/cmd/gaurun_recover/gaurun_recover.go +++ b/cmd/gaurun_recover/gaurun_recover.go @@ -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 ( diff --git a/gaurun/client.go b/gaurun/client.go index 8a3a015..870c737 100644 --- a/gaurun/client.go +++ b/gaurun/client.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/mercari/gaurun/gcm" + "github.com/recruit-mp/gaurun/gcm" ) func keepAliveInterval(keepAliveTimeout int) int { diff --git a/gaurun/const.go b/gaurun/const.go index 9dbcab1..4b69f4a 100644 --- a/gaurun/const.go +++ b/gaurun/const.go @@ -1,7 +1,7 @@ package gaurun const ( - Version = "0.9.0" + Version = "0.9.1" ) const ( diff --git a/gaurun/global.go b/gaurun/global.go index 5ce37c2..9463f09 100644 --- a/gaurun/global.go +++ b/gaurun/global.go @@ -3,7 +3,7 @@ package gaurun import ( "net/http" - "github.com/mercari/gaurun/gcm" + "github.com/recruit-mp/gaurun/gcm" "go.uber.org/zap" ) diff --git a/gaurun/notification.go b/gaurun/notification.go index 7ceda77..f7267b2 100644 --- a/gaurun/notification.go +++ b/gaurun/notification.go @@ -10,7 +10,7 @@ import ( "sync/atomic" "time" - "github.com/mercari/gaurun/gcm" + "github.com/recruit-mp/gaurun/gcm" "go.uber.org/zap" ) diff --git a/glide.yaml b/glide.yaml index 4b39cb3..76411a4 100644 --- a/glide.yaml +++ b/glide.yaml @@ -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