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

[feature]combine expvar into grpc-gateway #542

Closed
jinleileiking opened this issue Feb 8, 2018 · 1 comment
Closed

[feature]combine expvar into grpc-gateway #542

jinleileiking opened this issue Feb 8, 2018 · 1 comment

Comments

@jinleileiking
Copy link

jinleileiking commented Feb 8, 2018

Is there any way to combine expvar to grpc-gateway for debug?

init func of expvar:


- func init() {
|     http.HandleFunc("/debug/vars", expvarHandler)
|     Publish("cmdline", Func(cmdline))
|     Publish("memstats", Func(memstats))
| }
@jinleileiking
Copy link
Author

use expvars.Handler() to realized...

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