Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question About Layers #66

Open
developer2346 opened this issue Aug 26, 2022 · 0 comments
Open

Question About Layers #66

developer2346 opened this issue Aug 26, 2022 · 0 comments

Comments

@developer2346
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant