Initial commit

This commit is contained in:
2025-09-06 21:35:45 -04:00
commit b02525e28a
32 changed files with 1478 additions and 0 deletions

17
pkg/auth/errors.go Normal file
View File

@@ -0,0 +1,17 @@
package auth
type authError struct {
InnerError error
}
type ErrorUnauthorized authError
func (eu *ErrorUnauthorized) Error() string {
return "Invalid username or password"
}
type ErrorForbidden authError
func (ef *ErrorForbidden) Error() string {
return "Access is denied"
}