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
micro.AddListenOption
micro.AddListenOption(func(o *server.Options) { o.ListenOptions = append(o.ListenOptions, func(lo *transport.ListenOptions) { lo.Context = ctx }, ) }),
It will be never get the Listener from Context
go-micro/transport/context.go
Line 15 in 8020303
The text was updated successfully, but these errors were encountered:
ad
Sorry, something went wrong.
Still working on that? Any chance to give more context?
No branches or pull requests
Describe the bug
use my custom listener.
add my listener via
micro.AddListenOption
Nothing!
It will be never get the Listener from Context
bug uri:
if l, ok := o.Context.Value(netListener{}).(net.Listener); ok && l != nil {
go-micro/transport/context.go
Line 15 in 8020303
The text was updated successfully, but these errors were encountered: