Documentation ¶
Overview ¶
Package web provides the Tailscale client for web.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the backend server for a Tailscale web client.
type ServerOpts ¶
type ServerOpts struct { DevMode bool // CGIMode indicates if the server is running as a CGI script. CGIMode bool // PathPrefix is the URL prefix added to requests by CGI or reverse proxy. PathPrefix string // LocalClient is the tailscale.LocalClient to use for this web server. // If nil, a new one will be created. LocalClient *tailscale.LocalClient }
ServerOpts contains options for constructing a new Server.
Click to show internal directories.
Click to hide internal directories.