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
ToServerOption has underlying type func(*privateStruct). I think we should make it into an interface because of:
consistency with other modules in this repository
allows creating a hierarchy of options (e.g. we could have some Options that work both confighttp and configrpc by creating in the future a shared package for both)
To solve this issue I think we should:
Add guidance to CONTRIBUTING.md on how to add options
Make confighttp follow this guidance
The text was updated successfully, but these errors were encountered:
ToServerOption
has underlying typefunc(*privateStruct)
. I think we should make it into an interface because of:Option
s that work bothconfighttp
andconfigrpc
by creating in the future a shared package for both)To solve this issue I think we should:
CONTRIBUTING.md
on how to add optionsconfighttp
follow this guidanceThe text was updated successfully, but these errors were encountered: