2020-09-10 23:25:40 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
package worker.proxy.v1;
|
|
|
|
|
option go_package = "github.com/hashicorp/boundary/internal/proxy;proxy";
|
|
|
|
|
|
2020-09-19 13:51:50 -04:00
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
|
|
2020-09-19 00:18:17 -04:00
|
|
|
message ClientHandshake {
|
2020-09-10 23:25:40 -04:00
|
|
|
string tofu_token = 10;
|
|
|
|
|
}
|
2020-09-19 00:18:17 -04:00
|
|
|
|
|
|
|
|
message HandshakeResult {
|
2020-09-19 13:51:50 -04:00
|
|
|
google.protobuf.Timestamp expiration = 10;
|
2020-09-20 21:18:07 -04:00
|
|
|
int32 connection_limit = 20;
|
|
|
|
|
int32 connections_left = 30;
|
2020-09-19 00:18:17 -04:00
|
|
|
}
|