GcsSignedUrl.ISODateTime (gcs_signed_url v0.4.3) View Source

Generates timestamps formatted in iso8601 for usage in signature generation.

Link to this section Summary

Functions

Generates a GcsSignedUrl.DateTime struct from the given timestamp. If no timestamp is given, current time is used.

Link to this section Types

Specs

t() :: %GcsSignedUrl.ISODateTime{date: String.t(), datetime: String.t()}

Link to this section Functions

Specs

generate() :: t()

Specs

generate(DateTime.t()) :: t()

Generates a GcsSignedUrl.DateTime struct from the given timestamp. If no timestamp is given, current time is used.