Documentation ¶
Overview ¶
Package tstime defines Tailscale-specific time utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse3339 ¶
Parse3339 is a wrapper around time.Parse(time.RFC3339Nano, s) that caches timezone Locations for future parses.
func Parse3339B ¶
Parse3339B is Parse3339 but for byte slices.
func ParseDuration ¶
ParseDuration is more expressive than time.ParseDuration, also accepting d (days) and w (weeks) literals.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.