Skip to content

Commit

Permalink
rename owner
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed May 31, 2023
1 parent 835d550 commit cec785e
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 33 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
APNS/2 is a go package designed for simple, flexible and fast Apple Push
Notifications on iOS, OSX and Safari using the new HTTP/2 Push provider API.

[![Build Status](https://github.com/sideshow/apns2/actions/workflows/tests.yml/badge.svg)](https://github.com/sideshow/apns2/actions/workflows/tests.yml)
[![Build Status](https://github.com/ringsaturn/apns2/actions/workflows/tests.yml/badge.svg)](https://github.com/ringsaturn/apns2/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/sideshow/apns2/badge.svg?branch=master&service=github)](https://coveralls.io/github/sideshow/apns2?branch=master)
[![GoDoc](https://godoc.org/github.com/sideshow/apns2?status.svg)](https://godoc.org/github.com/sideshow/apns2)
[![GoDoc](https://godoc.org/github.com/ringsaturn/apns2?status.svg)](https://godoc.org/github.com/ringsaturn/apns2)

## Features

- Uses new Apple APNs HTTP/2 connection
- Fast - See
[notes on speed](https://github.com/sideshow/apns2/wiki/APNS-HTTP-2-Push-Speed)
[notes on speed](https://github.com/ringsaturn/apns2/wiki/APNS-HTTP-2-Push-Speed)
- Works with go 1.19 and later
- Supports new Apple Token Based Authentication (JWT)
- Supports new iOS 10 features such as Collapse IDs, Subtitles and Mutable
Expand All @@ -31,10 +31,10 @@ Notifications on iOS, OSX and Safari using the new HTTP/2 Push provider API.

```
require (
github.com/sideshow/apns2 v0.23.0
github.com/ringsaturn/apns2 v0.23.0
)
replace github.com/sideshow/apns2 => github.com/ringsaturn/apns2 v0.24.0
replace github.com/ringsaturn/apns2 => github.com/ringsaturn/apns2 v0.24.0
```

## Example
Expand All @@ -46,8 +46,8 @@ import (
"log"
"fmt"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
)

func main() {
Expand Down Expand Up @@ -142,7 +142,7 @@ notification.Payload = payload
client.Push(notification)
```

Refer to the [payload](https://godoc.org/github.com/sideshow/apns2/payload) docs
Refer to the [payload](https://godoc.org/github.com/ringsaturn/apns2/payload) docs
for more info.

## Response, Error handling
Expand Down Expand Up @@ -192,7 +192,7 @@ defer cancel()
## Speed & Performance

Also see the wiki page on
[APNS HTTP 2 Push Speed](https://github.com/sideshow/apns2/wiki/APNS-HTTP-2-Push-Speed).
[APNS HTTP 2 Push Speed](https://github.com/ringsaturn/apns2/wiki/APNS-HTTP-2-Push-Speed).

For best performance, you should hold on to an `apns2.Client` instance and not
re-create it every push. The underlying TLS connection itself can take a few
Expand All @@ -210,7 +210,7 @@ Speed is greatly affected by the location of your server and the quality of your
network connection. If you're just testing locally, behind a proxy or if your
server is outside USA then you're not going to get great performance. With a
good server located in AWS, you should be able to get
[decent throughput](https://github.com/sideshow/apns2/wiki/APNS-HTTP-2-Push-Speed).
[decent throughput](https://github.com/ringsaturn/apns2/wiki/APNS-HTTP-2-Push-Speed).

## Command line tool

Expand Down
4 changes: 2 additions & 2 deletions _example/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"os"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _example/channel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

"flag"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/sideshow/apns2/payload"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
"github.com/ringsaturn/apns2/payload"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _example/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"os"
"time"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
"golang.org/x/net/http2"
)

Expand Down
4 changes: 2 additions & 2 deletions _example/token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"os"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/token"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/token"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions apns2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"

"github.com/alecthomas/kingpin/v2"
"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion certificate/certificate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2/certificate"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"strconv"
"time"

"github.com/sideshow/apns2/token"
"github.com/ringsaturn/apns2/token"
"golang.org/x/net/http2"
)

Expand Down
4 changes: 2 additions & 2 deletions client_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"testing"
"time"

"github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (

"golang.org/x/net/http2"

apns "github.com/sideshow/apns2"
"github.com/sideshow/apns2/certificate"
"github.com/sideshow/apns2/token"
apns "github.com/ringsaturn/apns2"
"github.com/ringsaturn/apns2/certificate"
"github.com/ringsaturn/apns2/token"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/sideshow/apns2
module github.com/ringsaturn/apns2

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion notification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package apns2_test
import (
"testing"

"github.com/sideshow/apns2"
"github.com/ringsaturn/apns2"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion payload/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

. "github.com/sideshow/apns2/payload"
. "github.com/ringsaturn/apns2/payload"
"github.com/stretchr/testify/assert"
)

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

apns "github.com/sideshow/apns2"
apns "github.com/ringsaturn/apns2"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion token/token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/sideshow/apns2/token"
"github.com/ringsaturn/apns2/token"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit cec785e

Please sign in to comment.