-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: hlts2 <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1,24 @@ | ||
syntax = "proto3"; | ||
|
||
package mirroring.v1; | ||
|
||
import "apis/proto/v1/payload/payload.proto"; | ||
import "github.com/googleapis/googleapis/google/api/annotations.proto"; | ||
|
||
option go_package = "github.com/vdaas/vald/apis/grpc/v1/mirroring"; | ||
option java_multiple_files = true; | ||
option java_package = "org.vdaas.vald.api.v1.mirroring"; | ||
option java_outer_classname = "ValdMirroring"; | ||
|
||
|
||
// Represent the mirroring service. | ||
service Mirroring { | ||
|
||
// Register the RPC to register other mirroring servers. | ||
rpc Register(payload.v1.Mirroring.Request) returns (payload.v1.Empty) { | ||
option (google.api.http) = { | ||
post : "/mirroring/register" | ||
body : "*" | ||
}; | ||
} | ||
} |