View Source GcsSignedUrl.ISODateTime (gcs_signed_url v0.4.6)

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

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

Link to this section Functions

@spec generate() :: t()
@spec generate(DateTime.t()) :: t()

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