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
unknown service handler option for server #12
Comments
Do you also need to be able to dynamically remove handlers? It seems like it shouldn't be hard to add a fallback to drpcmux.Mux for unknown handlers. It would just check here: https://github.com/storj/drpc/blob/main/drpcmux/handle_rpc.go#L18 |
wow you code looks like in micro framework =) so i need to implement Mux interface and all will works. thanks |
Yep, a lot of effort was spent trying to make it all a bunch of composable interfaces to let people do their own things instead of having the library have to contain it all. Given that you said you'd just implement it locally, I'm closing. Thanks! |
yeah, thanks for support. after i'm add it to my framework i'm test it performance =) |
https://pkg.go.dev/google.golang.org/grpc?utm_source=godoc#UnknownServiceHandler
i'm really need this to be able to dynamically add handlers and also have ability to send custom response for unknown handler.
can you implements something like this in drpc ?
The text was updated successfully, but these errors were encountered: