mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 14:24:21 +01:00
32 lines
681 B
Protocol Buffer
32 lines
681 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "github.com/breez/lspd/notifications";
|
|
|
|
package notifications;
|
|
|
|
service Notifications {
|
|
rpc SubscribeNotifications(EncryptedNotificationRequest)
|
|
returns (SubscribeNotificationsReply) {}
|
|
|
|
rpc UnsubscribeNotifications(EncryptedNotificationRequest)
|
|
returns (UnsubscribeNotificationsReply) {}
|
|
}
|
|
|
|
message EncryptedNotificationRequest {
|
|
bytes blob = 1;
|
|
}
|
|
|
|
message SubscribeNotificationsRequest {
|
|
string url = 1;
|
|
string signature = 2;
|
|
}
|
|
|
|
message SubscribeNotificationsReply {}
|
|
|
|
message UnsubscribeNotificationsRequest {
|
|
string url = 1;
|
|
string signature = 2;
|
|
}
|
|
|
|
message UnsubscribeNotificationsReply {}
|