💥 Rename Pusher to Ring
This commit is contained in:
@@ -110,15 +110,15 @@ public static class GrpcClientHelper
|
||||
clientCertPassword));
|
||||
}
|
||||
|
||||
public static async Task<PusherService.PusherServiceClient> CreatePusherServiceClient(
|
||||
public static async Task<RingService.RingServiceClient> CreateRingServiceClient(
|
||||
IEtcdClient etcdClient,
|
||||
string clientCertPath,
|
||||
string clientKeyPath,
|
||||
string? clientCertPassword = null
|
||||
)
|
||||
{
|
||||
var url = await GetServiceUrlFromEtcd(etcdClient, "DysonNetwork.Pusher");
|
||||
return new PusherService.PusherServiceClient(CreateCallInvoker(url, clientCertPath, clientKeyPath,
|
||||
var url = await GetServiceUrlFromEtcd(etcdClient, "DysonNetwork.Ring");
|
||||
return new RingService.RingServiceClient(CreateCallInvoker(url, clientCertPath, clientKeyPath,
|
||||
clientCertPassword));
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ import "google/protobuf/wrappers.proto";
|
||||
|
||||
import "account.proto";
|
||||
|
||||
// PusherService provides methods to send various types of notifications.
|
||||
service PusherService {
|
||||
// RingService provides methods to send various types of notifications.
|
||||
service RingService {
|
||||
// Sends an email.
|
||||
rpc SendEmail(SendEmailRequest) returns (google.protobuf.Empty) {}
|
||||
|
||||
@@ -117,7 +117,7 @@ message GetWebsocketConnectionStatusResponse {
|
||||
}
|
||||
|
||||
|
||||
service PusherHandlerService {
|
||||
service RingHandlerService {
|
||||
rpc ReceiveWebSocketPacket(ReceiveWebSocketPacketRequest) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user