Skip to content
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

example code to integrate grpctunnel #88

Open
dliu2223 opened this issue Feb 3, 2021 · 0 comments
Open

example code to integrate grpctunnel #88

dliu2223 opened this issue Feb 3, 2021 · 0 comments

Comments

@dliu2223
Copy link

dliu2223 commented Feb 3, 2021

Hi,

I have existing gnnmi+gnoi servers and clients, I like to integrate the grpctunnel as part of the server & client code because the server will be outside out firewall, do you mind providing example code to show how to modify:

  • client code when grpc.Dial is called to get the connection
  • server code when net.Listen(), grpc.NewServer(), gnmi.RegisterGNMIServer() are called without the grpctunnel

Thanks

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant