mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 21:14:36 +00:00
Blog changes + tests (#4)
* Blog changes + tests * Fix build * Fix * Add back step * Fix logger * Fix test * Typo * Better test * Changes to tests * Update micro * Fixing all them things * Fixing even more things :)) * Bump micro * Fix posts and tags by following micro changes * Trying to pin workflow to correct micro version * huh * Bump go micro * Add etcd replace * Changing a bunch of things * Denormalize to fix bug * Fixes
This commit is contained in:
26
tests/proto/tests.proto
Normal file
26
tests/proto/tests.proto
Normal file
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package go.micro.service.tests;
|
||||
|
||||
service Tests {
|
||||
// enables registering an endpoint for callback to run tests
|
||||
rpc Register(RegisterRequest) returns (RegisterResponse) {};
|
||||
}
|
||||
|
||||
message Test {
|
||||
// name of the test
|
||||
string name = 1;
|
||||
// service to call back
|
||||
string service = 2;
|
||||
// endpoint to call back
|
||||
string endpoint = 3;
|
||||
// how often to run the test in seconds
|
||||
int64 interval = 4;
|
||||
// TODO: data to include in the callback
|
||||
}
|
||||
|
||||
message RegisterRequest {
|
||||
repeated Test tests = 1;
|
||||
}
|
||||
|
||||
message RegisterResponse {}
|
||||
Reference in New Issue
Block a user