mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
* 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
27 lines
534 B
Protocol Buffer
27 lines
534 B
Protocol Buffer
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 {}
|