mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 06:07:58 +08:00
refactoring
This commit is contained in:
@@ -42,7 +42,7 @@ service SeaweedFiler {
|
||||
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
|
||||
}
|
||||
|
||||
rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
|
||||
rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -234,12 +234,12 @@ message GetFilerConfigurationResponse {
|
||||
bool cipher = 7;
|
||||
}
|
||||
|
||||
message ListenForEventsRequest {
|
||||
message SubscribeMetadataRequest {
|
||||
string client_name = 1;
|
||||
string path_prefix = 2;
|
||||
int64 since_ns = 3;
|
||||
}
|
||||
message FullEventNotification {
|
||||
message SubscribeMetadataResponse {
|
||||
string directory = 1;
|
||||
EventNotification event_notification = 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user