forked from berty/weshnet
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request berty#48 from D4ryl00/chore/move-push-into-berty
Chore: move push notification stuff into berty messenger
- Loading branch information
Showing
118 changed files
with
3,552 additions
and
17,815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
api/protocol/outofstoremessagetypes/outofstoremessage.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
syntax = "proto3"; | ||
|
||
package weshnet.outofstoremessage.v1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "protocoltypes.proto"; | ||
|
||
option go_package = "berty.tech/weshnet/pkg/outofstoremessagetypes"; | ||
|
||
option (gogoproto.goproto_enum_prefix_all) = false; | ||
option (gogoproto.marshaler_all) = true; | ||
option (gogoproto.unmarshaler_all) = true; | ||
option (gogoproto.sizer_all) = true; | ||
|
||
// OutOfStoreMessageService is the service used to open out-of-store messages (e.g. push notifications) | ||
// It is used to open messages with a lightweight protocol service for mobile backgroup processes. | ||
service OutOfStoreMessageService { | ||
// OutOfStoreReceive parses a payload received outside a synchronized store | ||
rpc OutOfStoreReceive(weshnet.protocol.v1.OutOfStoreReceive.Request) returns (weshnet.protocol.v1.OutOfStoreReceive.Reply); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.