mirror of
https://github.com/lorsanstand/HomeOps-Hub.git
synced 2026-06-19 15:35:17 +03:00
13 lines
444 B
Protocol Buffer
13 lines
444 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "google/protobuf/empty.proto";
|
|
import "homeops/register.proto";
|
|
import "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) {}
|
|
} |