muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics
https://wakapi.dev
MIT License
2.76k stars 173 forks source link

Consider removing Gorilla #104

Closed muety closed 3 years ago

muety commented 3 years ago

We currently use these Gorilla features:

  1. mux (routing)
    • Might well be replaced by standard library's serve mux or httprouter
  2. schema (form decoding)
    • Can probably also be done with stdlib method somehow
  3. securecookies
    • We don't actually need encrypted cookies
    • Update: But having signed cookies is actually quite nice to avoid explicit sessions.
  4. handlers (logging only)
    • Shall be replaced with custom logger anyway (see #102)
muety commented 3 years ago

Okay, securecookie is actually pretty convenient when not using JWTs anyway. Definitely want to keep it for now.

muety commented 3 years ago

Okay, actually, Gorilla is fine...