23 lines
420 B
Protocol Buffer
23 lines
420 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package core;
|
|
|
|
import "common.proto";
|
|
|
|
option go_package = "git.espin.casa/albert/go-telecom/proto/core;core";
|
|
|
|
service CoreService {
|
|
rpc HealthCheck(common.HealthCheckRequest) returns (common.HealthCheckResponse);
|
|
rpc StartProcess(StartRequest) returns (StartResponse);
|
|
}
|
|
|
|
message StartRequest {
|
|
string process_name = 1;
|
|
}
|
|
|
|
message StartResponse {
|
|
bool success = 1;
|
|
string message = 2;
|
|
}
|
|
|