mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
20 lines
249 B
Protocol Buffer
20 lines
249 B
Protocol Buffer
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;
|
|
}
|