1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/core-go synced 2024-10-07 16:48:33 +02:00
No description
Find a file
Conrad Hoffmann 0d6031bec5 server: use routing groups
Instead of hardcoding some exceptions in the auth middleware, use a
different routing group for routes that do not require auth. Makes the
auth middleware more generic and also removes a lot of unneccessary
middleware processing from routes that don't need it.

For now, the added group is not accessible from outside the module, but
if the need arises, this might be an option.
2024-09-10 09:28:04 +02:00
.builds Update and simplify build manifest 2023-12-04 21:27:31 +01:00
auth server: use routing groups 2024-09-10 09:28:04 +02:00
client client: rename Execute to Do 2024-01-24 11:50:42 +01:00
cmd/token go fmt 2021-08-26 13:56:41 +02:00
config config: print loaded config(s) to log 2024-07-26 12:01:07 +02:00
crypto auth: s/OAuth2Token/BearerToken/g 2021-07-29 10:37:48 +02:00
database database: don't panic on context.DeadlineExceeded 2023-11-30 11:31:27 +01:00
email email: update StartTLS usage per go-smtp changes 2024-07-26 11:44:38 +02:00
model crypto: harden API surface 2021-01-07 09:38:30 -05:00
redis redis: Update style 2023-06-01 12:30:14 +02:00
s3 s3: add Enabled 2024-02-02 12:08:06 +01:00
server server: use routing groups 2024-09-10 09:28:04 +02:00
valid valid: Add Error function 2022-03-14 12:20:44 +01:00
webhooks webhooks: skip webhooks with expired credentials 2023-12-04 21:14:55 +01:00
.gitignore Initial commit 2020-08-20 09:59:23 -04:00
go.mod email: update StartTLS usage per go-smtp changes 2024-07-26 11:44:38 +02:00
go.sum email: update StartTLS usage per go-smtp changes 2024-07-26 11:44:38 +02:00
LICENSE Initial commit 2020-08-20 09:59:23 -04:00
placeholder.go Initial commit 2020-08-20 09:59:23 -04:00
README.md README.md: add build badge 2020-10-10 11:28:51 -04:00

This repository contains code shared among all Go sr.ht projects. For instructions on deploying or contributing to this project, visit the manual here:

https://man.sr.ht/installation.md

builds.sr.ht status