Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PingResultString ¶
func PingResultString(pr *ipnstate.PingResult) (string, error)
func SetTSStatus ¶
func SetTSStatus(status bool)
Connect/Disconnect Tailscale network. Equivalent to `tailscale up` (status=true) `tailscale down` (status=false) commands
Types ¶
type ActionType ¶
type ActionType int
const ( ConnectAction ActionType = iota OfferExitNode PingAction )
func (ActionType) String ¶
func (f ActionType) String() string
type ConnectMsg ¶
type ConnectMsg bool
type StatusDataMsg ¶
type StatusErrorMsg ¶
type StatusErrorMsg error
type ToggleConnectionMsg ¶
type ToggleConnectionMsg bool
Click to show internal directories.
Click to hide internal directories.