Versions in this module Expand all Collapse all v0 v0.0.10 Jul 2, 2026 Changes in this version + const DefaultControlPlaneBaseURL + var ErrClosed = errors.New("tunnel-client: client is closed") + type Client struct + func New(cfg Config, transport mcp.Transport) (*Client, error) + func (c *Client) Done() <-chan os.Signal + func (c *Client) Ready() <-chan struct{} + func (c *Client) Run(ctx context.Context) error + func (c *Client) Start(ctx context.Context) error + func (c *Client) Stop(ctx context.Context) error + func (c *Client) WaitUntilReady(ctx context.Context) error + type Config struct + APIKey string + ControlPlaneBaseURL string + ControlPlaneExtraHeaders map[string]string + ControlPlaneURLPath string + LogLevel slog.Level + LogWriter io.Writer + MaxInFlightRequests int + OrganizationID string + PollDeadlineGuardrail time.Duration + PollTimeout time.Duration + TunnelID string