Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeLocation ¶
GetTimeLocation returns the time location set on the context, or error if none set
func HandleTimezoneHeader ¶
HandleTimezoneHeader will extract the time location from the Time-Zone header and set it on the context. The location will also be set as an attribute to the context's tracing span. If no header set, the location will default to UTC
func HasTimeLocation ¶
HasTimeLocation returns true if the context has a Time Location set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.