tailscale.comtailscale.com/types Directories

types/ directory

Directories

PathSynopsis
types/appctypePackage appcfg contains an experimental configuration structure for "tailscale.com/app-connectors" capmap extensions.
types/boolsPackage bools contains the Int, Compare, and IfElse functions.
types/dnstypePackage dnstype defines types for working with DNS.
types/emptyPackage empty defines an empty struct type.
types/flagtypePackage flagtype defines flag.Value types.
types/ioxPackage iox provides types to implement io functionality.
types/ipprotoPackage ipproto contains IP Protocol constants.
types/jsonxPackage jsonx contains helper types and functionality to use with github.com/go-json-experiment/json, which is positioned to be merged into the Go standard library as encoding/json/v2.
types/keyPackage key contains types for different types of public and private keys used by Tailscale.
types/lazyPackage lazy provides types for lazily initialized values.
types/loggerPackage logger defines a type for writing to logs.
types/logidPackage logid contains ID types for interacting with the log service.
types/mapxPackage mapx contains extra map types and functions.
types/netlogtypePackage netlogtype defines types for network logging.
types/netmapPackage netmap contains the netmap.NetworkMap type.
types/nettypePackage nettype defines an interface that doesn't exist in the Go net package.
types/optPackage opt defines optional types.
types/persistPackage persist contains the Persist type.
types/prefsPackage prefs contains types and functions to work with arbitrary preference hierarchies.
types/prefs/prefs_examplePackage prefs_example contains a Prefs type, which is like tailscale.com/ipn.Prefs, but uses the prefs package to enhance individual preferences with state and metadata.
types/preftypePackage preftype is a leaf package containing types for various preferences.
types/ptrPackage ptr contains the ptr.To function.
types/resultPackage result contains the Of result type, which is either a value or an error.
types/structsPackage structs contains the Incomparable type.
types/tkatypePackage tkatype defines types for working with the tka package.
types/viewsPackage views provides read-only accessors for commonly used value types.
Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Last checked
1 day ago

Tools for package owners.