1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.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 07:55:16 +02:00
string policy = 1;
}
message SetPolicyResponse {
2024-09-04 07:55:16 +02:00
string policy = 1;
google.protobuf.Timestamp updated_at = 2;
}
message GetPolicyRequest {}
message GetPolicyResponse {
2024-09-04 07:55:16 +02:00
string policy = 1;
google.protobuf.Timestamp updated_at = 2;
}