headscale/proto/headscale/v1/policy.proto

21 lines
475 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package headscale.v1;
option go_package = "github.com/juanfont/headscale/gen/go/v1";
import "google/protobuf/timestamp.proto";
message SetPolicyRequest {
2024-09-04 05:55:16 +00:00
string policy = 1;
}
message SetPolicyResponse {
2024-09-04 05:55:16 +00:00
string policy = 1;
google.protobuf.Timestamp updated_at = 2;
}
message GetPolicyRequest {}
message GetPolicyResponse {
2024-09-04 05:55:16 +00:00
string policy = 1;
google.protobuf.Timestamp updated_at = 2;
}