headscale

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.1.9

type Client struct {
	headscalev1.HeadscaleServiceClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg Config) (*Client, error)

func (Client) ControllerURL added in v0.5.0

func (h Client) ControllerURL() string

func (Client) Endpoint added in v0.1.9

func (h Client) Endpoint() string

func (Client) Version added in v0.15.1

func (h Client) Version(ctx context.Context) (string, error)

type Config

type Config struct {
	Log           *slog.Logger
	Apikey        string
	Endpoint      string
	ControllerURL string
}

Jump to

Keyboard shortcuts

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