mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			475 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			475 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
package headscale.v1;
 | 
						|
option  go_package = "github.com/juanfont/headscale/gen/go/v1";
 | 
						|
 | 
						|
import "google/protobuf/timestamp.proto";
 | 
						|
 | 
						|
message SetPolicyRequest {
 | 
						|
    string policy = 1;
 | 
						|
}
 | 
						|
 | 
						|
message SetPolicyResponse {
 | 
						|
    string                    policy     = 1;
 | 
						|
    google.protobuf.Timestamp updated_at = 2;
 | 
						|
}
 | 
						|
 | 
						|
message GetPolicyRequest {}
 | 
						|
 | 
						|
message GetPolicyResponse {
 | 
						|
    string                    policy     = 1;
 | 
						|
    google.protobuf.Timestamp updated_at = 2;
 | 
						|
} |