Skip to content

Configuration

saq.sandwich.proto.api.v1.Configuration

Description

A configuration for a sandwich tunnel (either server or client).

message Configuration {
  // The implementation to use.
  //
  // See [Implementation](Implementation.md).
  Implementation impl = 1;

  // Options specific to the `{protocol, implementation}` pair.
  oneof opts {
    // Client options.
    //
    // See [ClientOptions](ClientOptions.md).
    ClientOptions client = 2;

    // Server options.
    // See [ServerOptions](ServerOptions.md).
    ServerOptions server = 3;
  }

  // Next id: 5
}

Fields

impl

The implementation to use.

See Implementation.

Implementation impl = 1;

oneof opts

Options specific to the {protocol, implementation} pair.

oneof opts {
    // Client options.
    //
    // See [ClientOptions](ClientOptions.md).
    ClientOptions client = 2;

    // Server options.
    // See [ServerOptions](ServerOptions.md).
    ServerOptions server = 3;
  }

client

Client options.

See ClientOptions.

ClientOptions client = 2;

server

Server options. See ServerOptions.

ServerOptions server = 3;