MCPcopy
hub / github.com/tailscale/tailscale / Start

Method Start

tsnet/tsnet.go:526–530  ·  view source on GitHub ↗

Start connects the server to the tailnet. Optional: any calls to Dial/Listen will also call Start.

()

Source from the content-addressed store, hash-verified

524// Start connects the server to the tailnet.
525// Optional: any calls to Dial/Listen will also call Start.
526func (s *Server) Start() error {
527 hostinfo.SetPackage("tsnet")
528 s.initOnce.Do(s.doInit)
529 return s.initErr
530}
531
532// Up connects the server to the tailnet and waits until it is running.
533// On success it returns the current status, including a Tailscale IP address.

Callers 11

DialMethod · 0.95
LocalClientMethod · 0.95
LoopbackMethod · 0.95
ListenPacketMethod · 0.95
listenMethod · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
initTSNetFunction · 0.95
TestConnectToRecorderFunction · 0.95

Calls 2

SetPackageFunction · 0.92
DoMethod · 0.65

Tested by 2

TestConnectToRecorderFunction · 0.76