Documentation
¶
Index ¶
- type Client
- func (c *Client) Connect(authKey string) error
- func (c *Client) Disconnect() error
- func (c *Client) GetIP() (string, error)
- func (c *Client) GetStatus() (string, error)
- func (c *Client) IsConnected() (bool, error)
- func (c *Client) IsInstalled() bool
- func (c *Client) ListPeers() ([]string, error)
- func (c *Client) Ping(peer string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a Tailscale client for managing VPN connections
func (*Client) Disconnect ¶
Disconnect disconnects from Tailscale
func (*Client) IsConnected ¶
IsConnected checks if Tailscale is connected and active
func (*Client) IsInstalled ¶
IsInstalled checks if Tailscale is installed on the system
Click to show internal directories.
Click to hide internal directories.