Commit graph

7 commits

Author SHA1 Message Date
c4724723b6 Switch from logrus to log/slog
Use log/slog from the Go standard library to reduce dependencies.
2024-05-12 12:02:27 +02:00
c607cdae94 Update linter, remove copyright years
Git has all history information, copyright years don't provide useful additional information.
2024-05-12 10:20:06 +02:00
7ec9e393e0 Add separate protected resource page
This commit adds a separate protected resource page to demonstrate how
to selectively require logins.

Add code to improve client performance by providing modification timestamps
and Cache-Control headers for embedded static files.
2023-08-03 16:46:28 +02:00
9ad06a2935 Improve token handling
- add identity information to the index page
- let the session expire when the token expires
2023-07-30 16:48:26 +02:00
4a50b42067 Fix golangci-lint warning 2023-07-29 20:36:04 +02:00
1b0c4a7470 Use structured logging consistently 2023-07-29 18:34:40 +02:00
43f32731f6 Move internal packages 2023-07-29 17:53:26 +02:00
Renamed from services/i18n.go (Browse further)