syntax = "proto3"; package api; option go_package = "github.com/psviderski/uncloud/api/pb"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; service Caddy { // GetConfig retrieves the current Caddy configuration from the machine. rpc GetConfig(google.protobuf.Empty) returns (GetCaddyConfigResponse); } message GetCaddyConfigResponse { // The saved Caddyfile content. string caddyfile = 1; // Timestamp when the config was last modified. google.protobuf.Timestamp modified_at = 2; // Error from the latest unsuccessful reconciliation attempt. string last_reconciliation_error = 3; }