Files
HomeOps-Hub/api/proto/homeops/hub.proto
T

13 lines
464 B
Protocol Buffer

syntax = "proto3";
import "google/protobuf/empty.proto";
import "api/proto/homeops/register.proto";
import "api/proto/homeops/stream.proto";
option go_package = "github.com/lorsanstand/HomeOps-Hub/api/gen/homeops;homeops";
service Hub {
rpc Ping (google.protobuf.Empty) returns (PongResponse) {}
rpc RegisterAgent (RegisterAgentRequest) returns (RegisterAgentResponse) {}
rpc StreamConnection (stream AgentEvent) returns (stream ServerCommandRequest) {}
}