We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In many cases sets implemented as map[T]struct{}. It would be nice to support it to avoid extra convertion on both server and client sides.
Currently Dispatcher AddFunc panics:
... cannot contain struct without exported fields [struct {}] in the value of map...
I could implement custom GobDecoder/GobDecoder for map[T]struct{}-type in my code, but it would be nice if gorpc supports it.
The text was updated successfully, but these errors were encountered:
I hacked it like this ikkeps@0b4d2f9 Not sure about this. All tests pass and RPC works.
Sorry, something went wrong.
Issue #14: allow passing empty structs as request/response in Dispatc…
c94ac87
…her. Thanks to @ikkeps.
@Ikeps, thanks for the patch!
No branches or pull requests
In many cases sets implemented as map[T]struct{}. It would be nice to support it to avoid extra convertion on both server and client sides.
Currently Dispatcher AddFunc panics:
I could implement custom GobDecoder/GobDecoder for map[T]struct{}-type in my code, but it would be nice if gorpc supports it.
The text was updated successfully, but these errors were encountered: