Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func CreateProblemFromError(r *http.Request, err error) dto.ProblemDetails
- func CreateProblemFromRequest(r *http.Request, status int) dto.ProblemDetails
- func GetTodayUtc() time.Time
- func HashPassword(password string) (string, error)
- func IsValidUUID(u string) bool
- func TruncateToDay(t time.Time) time.Time
- func TruncateToMonth(t time.Time) time.Time
- func TruncateToYear(t time.Time) time.Time
- func WriteProblemToResponse(w http.ResponseWriter, problem dto.ProblemDetails) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func CreateProblemFromError ¶
func CreateProblemFromError(r *http.Request, err error) dto.ProblemDetails
func CreateProblemFromRequest ¶
func CreateProblemFromRequest(r *http.Request, status int) dto.ProblemDetails
func GetTodayUtc ¶
func HashPassword ¶
func IsValidUUID ¶
func WriteProblemToResponse ¶
func WriteProblemToResponse(w http.ResponseWriter, problem dto.ProblemDetails) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.