tsserver

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: CC0-1.0 Imports: 34 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause, CC0-1.0 Package tsserver implements the Tailscale coordination protocol for a single client. Heavy inspiration and code was taken from https://github.com/juanfont/headscale. As such, this file is dual licensed under BSD-3-Clause and CC0-1.0.

Index

Constants

View Source
const NoiseCapabilityVersion = 39

Variables

View Source
var ErrNoCapabilityVersion = errors.New("no capability version set")

Functions

func DERPMapTailscale

func DERPMapTailscale(ctx context.Context) (*tailcfg.DERPMap, error)

func NewServer

func NewServer(ctx context.Context, logger *slog.Logger, ov overlay.Overlay) (*server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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