syntax = "proto3";
package emerwen.shared;
option go_package = "git.src.quest/~liljamo/emerwen-proto/go/proto/shared";
message Target {
string target_id = 1;
string addr = 2;
int32 interval = 3;
string name = 4;
Method method = 5;
repeated int32 ok_codes = 6;
}
enum Method {
PING = 0;
GET = 1;
}
enum TargetState {
DOWN = 0;
UP = 1;
UNKNOWN = 2;
}