You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I am developing my own website using this project structure.
Currently I need to have a logging package and also use of JWT.
For the logging package, is it good idea to put its interface inside domain folder and then implement its methods in adaptors layer?
And for JWT, I think it doesn't need interface as it is less probable to be ejected. So where to put its codes like GenerateToken and ValidateToken methods? if there be a folder called pkg and then putting JWT there, it will go from inner layer to outer layer however.
Could you please help me how to implements tools like jwt and bcrypt. Also where and how to implement a logging feature.
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I am developing my own website using this project structure.
Currently I need to have a logging package and also use of JWT.
For the logging package, is it good idea to put its interface inside domain folder and then implement its methods in adaptors layer?
And for JWT, I think it doesn't need interface as it is less probable to be ejected. So where to put its codes like GenerateToken and ValidateToken methods? if there be a folder called pkg and then putting JWT there, it will go from inner layer to outer layer however.
Could you please help me how to implements tools like jwt and bcrypt. Also where and how to implement a logging feature.
Thanks
The text was updated successfully, but these errors were encountered: