online icon indicating copy to clipboard operation
online copied to clipboard

Independent timeouts per protocol

Open jesusprubio opened this issue 1 year ago • 1 comments

jesusprubio avatar Apr 21 '24 21:04 jesusprubio

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

DnFreddie avatar Nov 18 '24 21:11 DnFreddie