tailroute

package module
v0.0.0-...-38b56a0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

README

tailroute

A router to use tailscale as a form of access control between private (tailnet) and public (funnel).

Any app using this library will need to inform users to include a TS_AUTHKEY in order to connect to their tailnet successfully.

License

BSD 3 This code was derived from tclip and turned into a reusable library, therefore it retains the original license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	Funnel  http.Handler
	Tailnet http.Handler
	Logger  logger.Logf
}

func (Router) Serve

func (router Router) Serve(hostname string, dataDir string) error

Source Files

  • tailroute.go

Directories

Path Synopsis
cmd
tailproxy command

Jump to

Keyboard shortcuts

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