-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added reset function for bus reader
- Loading branch information
Wil Simpson
committed
Dec 11, 2024
1 parent
17f9a4d
commit 22b7bce
Showing
17 changed files
with
1,357 additions
and
218 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto3"; | ||
package sro; | ||
option go_package = "github.com/ShatteredRealms/go-common-service/pkg/pb;pb"; | ||
|
||
import "google/api/annotations.proto"; | ||
import "google/protobuf/empty.proto"; | ||
|
||
service BusService { | ||
rpc ResetReaderBus(BusTarget) returns (ResetBusResponse) { | ||
option (google.api.http) = { | ||
get : "/v1/bus/reset/reader" | ||
}; | ||
} | ||
rpc ResetWriterBus(BusTarget) returns (ResetBusResponse) { | ||
option (google.api.http) = { | ||
get : "/v1/bus/reset/writer" | ||
}; | ||
} | ||
} | ||
|
||
message BusTarget { string type = 1; } | ||
|
||
message ResetBusResponse { string message = 1; } |
File renamed without changes.
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
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
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
Oops, something went wrong.