Module Values.ConnectionDetailsSource

Information about a connection.

Sourcetype nonrec t = {
  1. clientPublicKey : WireGuardPublicKey.t option;
    (*

    The public key of the client.

    *)
  2. serverPublicKey : WireGuardPublicKey.t option;
    (*

    The public key of the server.

    *)
  3. serverEndpoint : ServerEndpoint.t option;
    (*

    The endpoint for the server.

    *)
  4. clientTunnelAddress : CIDR.t option;
    (*

    The client tunnel address.

    *)
  5. serverTunnelAddress : CIDR.t option;
    (*

    The server tunnel address.

    *)
  6. allowedIps : CIDRList.t option;
    (*

    The allowed IP addresses.

    *)
}
Sourceval make : ?clientPublicKey:??? -> ?serverPublicKey:??? -> ?serverEndpoint:??? -> ?clientTunnelAddress:??? -> ?serverTunnelAddress:??? -> ?allowedIps:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of CIDR.t ] list | `String of WireGuardPublicKey.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t