tracktime

package
v0.0.0-...-f94be1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromTimeTrackerContext

func FromTimeTrackerContext(ctx context.Context) (*time.Time, error)

FromContext retrieves the rs api request stored against the querytranslate.loggerCtxKey from the context.

func NewTimeTrackerContext

func NewTimeTrackerContext(ctx context.Context) context.Context

NewContext returns a new context with the given request time.

func Track

func Track(h http.Handler) http.Handler

Tracks the starting time for request

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL