mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 17:45:17 +03:00
13 lines
464 B
Protocol Buffer
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) {}
|
|
} |