<p>A try at writing a http client wrapper in golang.
This has support for hystrix and retries. Constructive feedback is welcome.
Thanks</p>
<p><a href="https://github.com/gojek-engineering/heimdall" rel="nofollow">https://github.com/gojek-engineering/heimdall</a></p>
<hr/>**评论:**<br/><br/>piratelax40: <pre><p>I think one thing that would be very helpful is to provide some information and/or compare this against other existing solutions in the ecosystem to illustrate why to check this out over. For example comparing to <a href="https://github.com/h2non/gentleman" rel="nofollow">https://github.com/h2non/gentleman</a></p></pre>rshetty01: <pre><p>Sure thanks for this suggestion. Will do</p></pre>kostix: <pre><p>Projects like this should consider moving pictures in their READMEs lower down as I, for one, tend to immediately close the browser's page rendering that README and forget about the project as soon as I notice such a picture.</p></pre>Kraigius: <pre><p>At least he's not using any emoji ¯\_(ツ)_/¯</p></pre>patrickdappollonio: <pre><p>The commenter has a point. I'm on mobile and the only thing GitHub showed me was the photo. I have to click on the Readme to continue reading. </p></pre>Creshal: <pre><p><a href="https://www.h5l.org/" rel="nofollow">Very unfortunate naming.</a></p></pre>alreadyburnt: <pre><p><a href="https://glassechidna.com.au/heimdall/" rel="nofollow">Extremely so</a>.</p></pre>ChristophBerger: <pre><p>None of the linked projects is a Go library, so there is only little chance of confusing any of the three projects. </p></pre>xokas11: <pre><p>So I'm pretty new at using go, but what's the advantage of using this instead of using the included default client? </p>
<p>I know about the timeout issue with it, but besides that, What is the default client lacking?</p></pre>kjolesquid: <pre><p>"How do I use this? Ah... the usage section. Reading... wtf is a backoff? WTF is a EXPONENTIAL backoff?" Where is the simple usage code examples?</p></pre>rshetty01: <pre><p>I am still in process of refining and updating README. Thanks for the feedback. Will update the README with more information and also example_test files for showing usage. Thanks once again</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传