mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
add Machine gRPC service
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package api;
|
||||
|
||||
option go_package = "github.com/psviderski/uncloud/internal/machine/api/pb";
|
||||
|
||||
message IP {
|
||||
bytes ip = 1;
|
||||
}
|
||||
|
||||
message IPPort {
|
||||
IP ip = 1;
|
||||
uint32 port = 2;
|
||||
}
|
||||
|
||||
message IPPrefix {
|
||||
IP ip = 1;
|
||||
uint32 bits = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user