TailscaleTransport (TailscaleTransport v0.1.0)

View Source

Defines a ThousandIsland.Transport implementation based on a tailscale socket as provided by :gen_tailscale.

Unless overridden, this module uses the following default options:

backlog: 1024,
nodelay: true,
send_timeout: 30_000,
send_timeout_close: true,
reuseaddr: true

The following options are required for the proper operation of Thousand Island and cannot be overridden:

mode: :binary,
active: false

Summary

Types

listener_socket()

@type listener_socket() :: :inet.socket()

options()

@type options() :: [:gen_tailscale.listen_option()]

socket()

@type socket() :: :inet.socket()