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

Use functional options pattern to configure Twikey Client #1

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

LucasRouckhout
Copy link
Contributor

Use the same defaults as before and use functional options to configure the client if so desired. Allow the option to disable Logging by providing the NullLogger, and make TimeProvider public as before if was not possible to create your own client without the constructor which also set the logger to discard.

@koen-serry koen-serry merged commit e675688 into twikey:master Mar 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants