package
0.12.0
Repository: https://github.com/scionproto/scion.git
Documentation: pkg.go.dev

# Functions

CreateParentDir creates the necessary parent directories for file.
No description provided by the author
ParseDuration parses a string into a time.Duration, assuming that a year always has 365d, a week always has 7d, and a day always has 24h.
SecsToCompact creates a compact string representation from the seconds.
SecsToTime takes seconds stored in a uint32.
TimeToCompact formats the time as a compat string, e.g.
TimeToSecs returns seconds stored as uint32.
TimeToString formats the time as a string.

# Structs

DurWrap is a wrapper to enable marshalling and unmarshalling of durations with the custom format.
UnixTime allows parsing and packing timestamps in seconds since epoch.

# Type aliases

No description provided by the author