Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpirationFromMap ¶
ExpirationFromMap extracts an expiration timestamp from a metadata map. It checks common expiry key names and nested "token"/"Token" objects for OAuth-style token representations.
func ParseBoolAny ¶
ParseBoolAny converts an arbitrary value to bool. Accepts bool, string ("true"/"false"/etc.), float64, and json.Number.
func ParseDurationAny ¶
ParseDurationAny converts an arbitrary value to time.Duration. Accepts time.Duration, numeric nanoseconds, and duration strings like "10s".
func ParseIntAny ¶
ParseIntAny converts an arbitrary value to int. Accepts int, int32, int64, float64, json.Number, and string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.