Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (52 sloc) 1.11 KB
syntax = "proto2";
package rated;
message HSLRateRequest {
message Filter {
message Namespace {
required string value = 1;
optional bool exact = 2;
}
optional Namespace namespace = 1;
message Entry {
required string value = 1;
optional bool exact = 2;
}
optional Entry entry = 2;
optional uint64 count = 3;
optional bool synced = 4;
}
optional Filter filter = 1;
message Paging {
optional string namespace = 1;
optional string entry = 2;
required uint64 limit = 3;
}
required Paging paging = 2;
}
message HSLRateResponse {
message Item {
required string namespace = 1;
required string entry = 2;
required uint64 count = 3;
required uint64 localcount = 4;
required uint64 oldest = 5;
required uint64 newest = 6;
}
repeated Item item = 1;
}
message HSLRateClearRequest {
message Namespace {
required string value = 1;
optional bool exact = 2;
}
optional Namespace namespace = 1;
message Entry {
required string value = 1;
optional bool exact = 2;
}
optional Entry entry = 2;
optional uint64 count = 3;
}
message HSLRateClearResponse {
required uint64 affected = 1;
}
You can’t perform that action at this time.