server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

server starts tailscale daemon requires root permission

Index

Constants

View Source
const (
	PORT          = 41112
	StateFilePath = "/var/lib/tailscale/tailscaled.state"
	LogId         = "tamed-log-id"
)

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, logf LoggerFunc, readyCh chan<- Notify) error

Start starts the server. Listen on readyCh to receive notification from server

Types

type LoggerFunc

type LoggerFunc func(format string, args ...interface{})

type Notify

type Notify struct {
	Started       *string
	LoginURL      *string
	Authenticated *string
	Stopped       *string
}

Jump to

Keyboard shortcuts

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