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

Independent timeouts per protocol #30

Open
jesusprubio opened this issue Apr 21, 2024 · 1 comment
Open

Independent timeouts per protocol #30

jesusprubio opened this issue Apr 21, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jesusprubio
Copy link
Owner

No description provided.

@jesusprubio jesusprubio added enhancement New feature or request good first issue Good for newcomers labels Apr 21, 2024
@DnFreddie
Copy link
Contributor

I think it might be hard to implement this using only the standard library's flag package. If you want to enable users to pass multiple protocols with custom configurations, it would be better to use a CLI framework like Cobra.

While I can generate flags like --tcp-timeout for every protocol, the command structure will quickly become unreadable without a proper tree structure for the commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants