apis

module
v0.0.0-...-d560322 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2020 License: Apache-2.0

README

BoltzEngine API 接続定義ファイル

このリポジトリについて

超高速プッシュ通知エンジン BoltzEngine への接続定義ファイルを公開するリポジトリです。

使用方法

gRPC でご利用の場合

本リポジトリの rpc/ 階層以下にある proto ファイルを protoc コマンドで各言語のクライアントコードに変換してご利用いただけます。

Go から gRPC でご利用の場合
  1. protoc をインストールしてください。 開発環境が Mac の場合は brew install protobuf をご利用頂けます。 開発環境が Debian / Ubuntu の方は apt-get install protobuf-compiler をご利用頂けます。
  2. protoc-gen-go をインストールしてください。 go get -u github.com/golang/protobuf/protoc-gen-go でインストール可能です。
  3. make を実行すると、 *.pb.go ファイルが最新に更新されます。
ProtoPackageIsVersion3 のエラーが出る場合

v3.2.0 より、リポジトリに一緒に登録される *.pg.go ファイルたちは Protocol Buffers v3.0 で生成されています。 こちらを用いると

xxxxx.pb.go:xx:xx: undefined: proto.ProtoPackageIsVersion3

のようなエラーが出力される場合があります。 その場合は、以下の Issue が参考になるかも知れません。

Go から net/rpc 接続でご利用の場合

GoDoc

本リポジトリの boltz/ 階層以下に型定義が入っており、go get で取得してご利用いただけます。

go get github.com/BoltzEngine/apis/boltz

BoltzEngine について

1秒で3.5万デバイスへ。降り注ぐ超高速プッシュ通知

BoltzEngine(ボルツエンジン)は、国内トップクラスの配信速度を誇るプッシュ通知エンジンです。 オンプレミスにもクラウドにも対応する柔軟さで、自社の情報セキュリティポリシーに即した運用も可能です。 もちろん、iOS / Android の両方にメッセージを配信できます。

詳細は BoltzEngine のウェブサイトをご覧ください。

License

Copyright 2018 Fenrir Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Directories

Path Synopsis
Package boltz defines data types for communicate between master and slave.
Package boltz defines data types for communicate between master and slave.
adm
Package adm implements communication between master and slave for ADM.
Package adm implements communication between master and slave for ADM.
apns
Package apns implements communication between master and slave.
Package apns implements communication between master and slave.
gcm
Package gcm implements communication between master and slave for FCM.
Package gcm implements communication between master and slave for FCM.
webpush
Package gcm implements communication between master and slave for WebPush.
Package gcm implements communication between master and slave for WebPush.
rpc
adm
gcm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL