package
0.0.0-20140329212752-b887e4eca56f
Repository: https://github.com/jprobinson/go-utils.git
Documentation: pkg.go.dev
# Functions
AccessLogHandler return a http.Handler that wraps h and logs requests to out in Apache Combined Log Format...with an NYT twist (SRCIP instead of RemoteAddr if it exists).
No description provided by the author
No description provided by the author
Deserialize decodes a value using gob.
Generic error response.
ParseDateRange will look for and parse 'startDate' and 'endDate' ISO date strings in the given vars map.
ParseDateRangeFullDay will look for and parse 'startDate' and 'endDate' ISO date strings in the given vars map.
ParseISODate will parse a YYYY-MM-DD string into a time.Time value.
Serialize encodes a value using gob.
No description provided by the author
Generic success response.
# Variables
No description provided by the author
# Structs
No description provided by the author
# Interfaces
An http.Handler which handles a certain prefix of URLs.
# Type aliases
JsonResponse is a convenience type for generating JSON responses.