This is my boilerplate for a Go http server project. Feedback and suggestions are encouraged!
Go to file
Jeffrey Paul b1df41ef17
continuous-integration/drone/push Build is passing Details
add some info about the types/signatures in route middlewares
2020-09-30 01:30:21 -07:00
cmd/httpd fixed gitignore which mistakenly omitted the cmd dir 2020-09-30 01:28:06 -07:00
httpserver add some info about the types/signatures in route middlewares 2020-09-30 01:30:21 -07:00
.drone.yml initial 2020-09-29 23:35:07 -07:00
.gitignore fixed gitignore which mistakenly omitted the cmd dir 2020-09-30 01:28:06 -07:00
Dockerfile fixed gitignore which mistakenly omitted the cmd dir 2020-09-30 01:28:06 -07:00
LICENSE initial 2020-09-29 23:35:07 -07:00
Makefile middlewares all now have the same signature 2020-09-30 01:18:30 -07:00
README.md middlewares all now have the same signature 2020-09-30 01:18:30 -07:00
go.mod now does logging and auth middleware 2020-09-30 00:48:56 -07:00
go.sum now does logging and auth middleware 2020-09-30 00:48:56 -07:00

README.md

gohttpserver

Build Status

This is my boilerplate for starting a new go HTTP server repository.

Many ideas are taken from Mat Ryer's talk How I Write HTTP Web Services after Eight Years at GopherCon 2019, seen here:

https://www.youtube.com/watch?v=rWBSMsLG8po

TODO

  • Database Boilerplate
  • Logging Middleware
  • Authentication Middleware Stub
  • Bundling Static Assets Into Binary
  • Dockerization

Author

sneak@sneak.berlin

https://sneak.berlin

License

WTFPL