controlclient

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(baseURL, token, caCertFile string) (autbackv1connect.ControlServiceClient, error)

func NewHTTPClient

func NewHTTPClient(baseURL, token, caCertFile string) (*http.Client, *url.URL, error)

NewHTTPClient returns the same validated, CA-aware HTTP client used by the Connect client. It is used by the CLI's loopback console proxy so browser requests can reach the read-only console without exposing device tokens.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL