Documentation
¶
Overview ¶
Package feature tracks which features are linked into the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hook ¶
type Hook[Func any] struct { // contains filtered or unexported fields }
Hook is a func that can only be set once.
It is not safe for concurrent use.
func (*Hook[Func]) Get ¶
func (h *Hook[Func]) Get() Func
Get returns the hook function, or panics if it hasn't been set. Use IsSet to check if it's been set.
func (*Hook[Func]) GetOk ¶ added in v1.84.0
GetOk returns the hook function and true if it has been set, otherwise its zero value and false.
Directories
¶
Path | Synopsis |
---|---|
Package capture formats packet logging into a debug pcap stream.
|
Package capture formats packet logging into a debug pcap stream. |
dissector
Package dissector contains the Lua dissector for Tailscale packets.
|
Package dissector contains the Lua dissector for Tailscale packets. |
The condregister package registers all conditional features guarded by build tags.
|
The condregister package registers all conditional features guarded by build tags. |
Package relayserver registers the relay server feature and implements its associated ipnext.Extension.
|
Package relayserver registers the relay server feature and implements its associated ipnext.Extension. |
Package taildrop registers the taildrop (file sending) feature.
|
Package taildrop registers the taildrop (file sending) feature. |
Package tap registers Tailscale's experimental (demo) Linux TAP (Layer 2) support.
|
Package tap registers Tailscale's experimental (demo) Linux TAP (Layer 2) support. |
Package tpm implements support for TPM 2.0 devices.
|
Package tpm implements support for TPM 2.0 devices. |
Package wakeonlan registers the Wake-on-LAN feature.
|
Package wakeonlan registers the Wake-on-LAN feature. |
Click to show internal directories.
Click to hide internal directories.