Skip to content

source-con/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Utils for Go-Gin

Logging

  • Zero logger custom implementation

Database

  • Database connection utils with replica setup
  • Global transaction interface

Errors

  • Custom application error

Middlewares

  • Latency
  • RequestID
  • JWT Authentication
  • Error handler
    • Gin errors
    • Validation errors
    • Application error
  • Basic Auth
  • Meta info

Utils

  • Generate access token
  • Generate random safe refresh token
  • Parse access token

Todo

  • Add support for reading access token from cookie