{"id":91583,"date":"2020-05-13T17:37:36","date_gmt":"2020-05-13T09:37:36","guid":{"rendered":"http:\/\/4563.org\/?p=91583"},"modified":"2020-05-13T17:37:36","modified_gmt":"2020-05-13T09:37:36","slug":"golang-%e9%87%8c%e9%9d%a2%e6%9c%89%e5%a5%bd%e7%94%a8%e7%9a%84%e9%85%8d%e7%bd%ae%e4%b8%ad%e5%bf%83%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=91583","title":{"rendered":"golang \u91cc\u9762\u6709\u597d\u7528\u7684\u914d\u7f6e\u4e2d\u5fc3\u5417"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  golang \u91cc\u9762\u6709\u597d\u7528\u7684\u914d\u7f6e\u4e2d\u5fc3\u5417               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guonaihong <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5982\u9898\uff0c\u5c31\u662f\u6ce8\u518c\u53d1\u73b0\u670d\u52a1\u8282\u70b9\u7528\u7684\u914d\u7f6e\u4e2d\u5fc3\u3002\u5927\u5bb6\u6709\u63a8\u8350\u7684\u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1279711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : falsemask <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             etcd\uff0cconsul                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : guonaihong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @falsemask \u53ef\u6709\u914d\u5957\u7684\u7ba1\u7406\u754c\u9762\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hst001 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @guonaihong #2 <br \/>\u754c\u9762\u975e\u5e38\u7684\u7c97\u7cd9\uff0c\u8ddd\u79bb\u53eb\u914d\u7f6e\u4e2d\u5fc3\u8fd8\u6709\u5f88\u957f\u8ddd\u79bb\uff0c\u53ea\u662f\u914d\u5408\u670d\u52a1\u53d1\u73b0\u8f7b\u4e2d\u5ea6\u4f7f\u7528\u7684\u8bdd\u8fd8\u53ef\u4ee5\u3002<br \/>etcd \u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u5f00\u6e90\u7684 UI\uff0c\u4f46\u662f\u771f\u7684\u6ca1\u597d\u7528\u7684\uff0c\u4e5f\u8bb8\u8fd9\u65b9\u9762\u9700\u6c42\u53ef\u80fd\u4e0d\u662f\u91cd\u70b9\uff0c\u591f\u7528\u5c31\u884c\uff0c\u81f3\u4eca\u6ca1\u4ec0\u4e48\u597d\u7684\u9879\u76ee\u3002<br \/>\u4e0d\u8fc7\u5982\u679c\u4f7f\u7528 k8s \u7684\u8bdd\u5e94\u8be5\u6709\u914d\u5957\u89e3\u51b3\u65b9\u6848\uff0cdocker swarm \u8fd9\u65b9\u9762\u975e\u5e38\u5f31\uff0c\u53ef\u4ee5\u5ffd\u7565\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hotsymbol <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             consul \u4e0d\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janxin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e00\u5b9a\u975e\u5f97\u9650\u5b9a Golang<\/p>\n<p>\u6597\u9c7c\u6709\u4e2a Golang \u7684\u8bf4\u6700\u8fd1\u8981\u5f00\u6e90                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xkeyideal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @janxin \u4e0d\u77e5\u662f\u4e0d\u662f\u6307 confgo \uff1f<br \/>\u770b\u8fc7 ppt\uff0c\u6e90\u7801\u5c1a\u672a\u5f00\u6e90\uff0c\u53ea\u4ece\u67b6\u6784\u56fe\u4e0a\u505a\u5224\u65ad\uff0c\u5404\u4eba\u80fd\u529b\u6709\u9650\uff0c\u4e0b\u9762\u51e0\u70b9\u8bc4\u8bba\u4ec5\u4ee3\u8868\u81ea\u5df1\u7684\u89c2\u70b9\uff0c\u7ed3\u8bba\uff1a\u614e\u7528<br \/>1 \u3001\u4ec5\u770b\u67b6\u6784\u56fe\uff0c\u5e94\u8be5\u662f\u4e0d\u80fd\u5f88\u597d\u7684\u652f\u6301\u5bb9\u5668\u5316<br \/>2 \u3001\u5b58\u50a8\u653e\u5728 db \u548c etcd \u91cc\uff0c\u4f46 etcd \u7684\u5b58\u50a8\u5bb9\u91cf\u6309\u7167\u76ee\u524d\u7684 v3.4 \u7248\u672c\u5e94\u8be5\u662f\u6709\u5c40\u9650\u7684\uff0c(\u5c40\u9650\u5728 boltdb\uff0cetcd \u5b98\u65b9\u76ee\u524d\u8fd8\u672a\u7ed9\u51fa\u660e\u786e\u7b54\u590d\u8bf4\u53ef\u4ee5\u65e0\u4e0a\u9650)\uff0c\u5982\u679c\u914d\u7f6e\u8fc7\u591a\uff0c\u7248\u672c\u5b58\u50a8\u8fc7\u591a\uff0c\u53ef\u80fd\u5b58\u5728\u95ee\u9898<br \/>3 \u3001\u6bcf\u4e2a agent \u76f4\u63a5 watch etcd\uff0c\u5bf9 etcd \u7684\u8fde\u63a5\u538b\u529b\u6709\u70b9\u5927\uff0c\u5f53\u7136\u53ef\u4ee5\u4e0a etcd proxy \u89e3\u51b3\uff0c\u8fd9\u4e2a\u95ee\u9898\u4e0d\u5927<br \/>4 \u3001client sdk \u91c7\u7528\u7684\u662f\u957f\u8f6e\u8bad agent\uff0cagent \u5e94\u8be5\u5206\u672c\u5730\u548c\u8fdc\u7a0b\uff08\u9632\u6b62\u672c\u5730\u7684 agent \u6302\u6389\uff0c\u6b64\u5904\u67b6\u6784\u56fe\u4e0a\u5e94\u8be5\u672a\u6d89\u53ca\uff09\uff0c\u76f8\u5bf9\u4f1a\u6d6a\u8d39\u5f88\u591a\u8d44\u6e90\uff0c\u8fd9\u91cc\u4e2a\u4eba\u89c9\u5f97\u53ef\u4ee5\u4f18\u5316<\/p>\n<p>\u4ec5\u4e2a\u4eba\u89c2\u70b9<\/p>\n<p>\u53e6\u63a8\u8350\u4e00\u4e2a\u521a\u521a\u5f00\u6e90\u7684 etcd ui\uff0chttps:\/\/github.com\/etcdpad\/etcdpad-web\uff0c\u53ef\u4ee5\u5728 docker hub \u4e0a\u641c\u5230<br \/>\u529f\u80fd\u76ee\u524d\u6bd4\u8f83\u7b80\u5355\uff0c\u57fa\u672c\u4f7f\u7528\u6ca1\u6709\u95ee\u9898\uff0c\u7531\u4e8e\u8fb9\u5de5\u4f5c\u8fb9\u5199\uff0c\u6ca1\u6709\u592a\u591a\u7684\u7cbe\u529b\u6301\u7eed\u5f00\u53d1\uff0c\u6b22\u8fce\u5927\u5bb6 pr                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janxin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xkeyideal \u4e0d\u6211\u53ea\u662f\u770b\u6597\u9c7c\u7684\u4eba\u8bf4\uff0c\u5177\u4f53\u6ca1\u592a\u5173\u6ce8\u8fc7\u5b9e\u73b0\u7ec6\u8282\uff0c\u611f\u8c22\u79d1\u666e<\/p>\n<p>\u4e3b\u8981\u662f\u4e5f\u6ca1\u5fc5\u8981\u5173\u6ce8\u5728 Golang \u5b9e\u73b0\u8fd9\u4e2a\u9650\u5b9a\u9879\u4e0a\uff0c\u5176\u4ed6\u8bed\u8a00\u8fd8\u662f\u6709\u4e0d\u5c11\u5b9e\u73b0\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : guonaihong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @falsemask @hst001 @hotsymbol @xkeyideal @janxin \u611f\u8c22\u5927\u5bb6\u63d0\u4f9b\u7684\u4fe1\u606f\uff0c\u540e\u9762\u6211\u73a9\u4e0b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1279719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : PiersSoCool <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4eec\u7528\u7684\u914d\u7f6e\u4e2d\u5fc3\u662f apollo \u3002\u5b9e\u5730\u8c03\u7814\u7684\u7ed3\u679c\u662f\uff0cconsul \u548c etcd \u4f5c\u4e3a\u914d\u7f6e\u4e2d\u5fc3\u6ca1\u6709\u56fe\u5f62\u5316\u7684\u754c\u9762\u3001\u6743\u9650\u7ba1\u7406\u3001\u73af\u5883\u7ba1\u7406\u7b49\uff0c\u9700\u8981\u81ea\u5df1\u5f00\u53d1\uff0c\u6700\u540e\u9009\u62e9\u4e86 apollo \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>golang \u91cc\u9762\u6709\u597d\u7528\u7684\u914d\u7f6e\u4e2d\u5fc3&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/91583"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91583"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/91583\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91583"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}