Home
Softono
go-push-receiver

go-push-receiver

Open source MIT Go
41
Stars
15
Forks
4
Issues
2
Watchers
1 week
Last Commit

About go-push-receiver

A library to subscribe to GCM/FCM and receive notifications within Go.

Platforms

Web Self-hosted

Languages

Go

Links

go-push-receiver

GoDoc Go Report Card MIT License Github Actions

A library to subscribe to GCM/FCM and receive notifications.

This library was developed inspired by push-receiver (https://github.com/MatthieuLemoine/push-receiver/).

Build

  1. prepare
mise install
lefthook install
  1. build
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ protoc -I=proto --go_out=pb/mcs proto/mcs.proto
$ protoc -I=proto --go_out=pb/checkin proto/checkin.proto
$ protoc -I=proto --go_out=pb/checkin proto/android_checkin.proto
$ go build

License

MIT License

proto file is licensed by is The Chromium Authors. (BSD-style license) (copied it from https://chromium.googlesource.com/chromium/chromium/+/trunk/google_apis/gcm/protocol/)