updates tailscale/corp#44019 WebClient is very useful for remote management on tvOS (which cannot do ssh). Let's include it there. Minimal corresponding tailscale/corp changes to follow to add UI to set the required prefs. Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
29 lines
582 B
Go
29 lines
582 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build android || ts_omit_webclient
|
|
|
|
package ipnlocal
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
const webClientPort = 5252
|
|
|
|
type webClient struct{}
|
|
|
|
func (b *LocalBackend) ConfigureWebClient(any) {}
|
|
|
|
func (b *LocalBackend) webClientGetOrInit() error {
|
|
return errors.New("not implemented")
|
|
}
|
|
|
|
func (b *LocalBackend) webClientShutdown() {}
|
|
|
|
func (b *LocalBackend) handleWebClientConn(c net.Conn) error {
|
|
return errors.New("not implemented")
|
|
}
|
|
func (b *LocalBackend) updateWebClientListenersLocked() {}
|