1
0
Fork
You've already forked go-httputils
0
No description
  • Go 100%
Find a file
2018年01月26日 22:19:29 -06:00
vendor Remove unused vendors since I yanked rice out. 2017年04月22日 01:38:05 -05:00
LICENSE Update package name. Add readme and license 2016年08月27日 21:21:44 -05:00
README Replace the rice-powered stuff with a StaticInit() function that sets up routes 2017年04月24日 23:09:58 -05:00
utils.go Add the ability to get the response time out of the Logger middleware, for use on pages. 2018年01月26日 22:19:29 -06:00

This library includes functions of various usefulness that I use in my Golang web applications.
Included amongst them are:
- A single function to setup handlers for /assets/, /favicon.{ico,png}, and /robots.txt
 - All served from a relative ./assets/ directory
 - /assets/ allows for easy serving of CSS and such
- Generate random bytes and strings
- HTTP logger middleware
- Some html/template helpers