01 2019 档案

摘要:[TOC] 参考: "https://coreos.com/etcd/" "https://coreos.com/etcd/docs/latest/demo.html" "etcd v3命令和API" "etcdv3与etcdv2特性比较" 1. 集群搭建(启动脚本) 2. 基本操作 2.1 end 阅读全文
posted @ 2019-01-12 21:09 yvhqbat 阅读(2117) 评论(0) 推荐(0) 编辑
摘要:参考: redis in action python import time import redis ONE_WEAK_IN_SECONDS=7 86400 VOTE_SCORE=432 def article_vote(conn, user, article): cutoff=time.time 阅读全文
posted @ 2019-01-10 00:53 yvhqbat 阅读(119) 评论(0) 推荐(0) 编辑
摘要:参考: "https://github.com/google/cadvisor" "https://github.com/coreos/flannel" "https://github.com/etcd io/etcd" "https://github.com/kubernetes/kubernet 阅读全文
posted @ 2019-01-05 20:14 yvhqbat 阅读(105) 评论(0) 推荐(0) 编辑
摘要:http.FileServer实现静态文件服务 阅读全文
posted @ 2019-01-03 00:32 yvhqbat 阅读(98) 评论(0) 推荐(0) 编辑
摘要:``` package main import ( "fmt" "net/http" ) type DB struct{ name string age int } var gdb DB = DB{"catty",26} func get(w http.ResponseWriter, req *http.Request) { // The "/" pattern matches ... 阅读全文
posted @ 2019-01-02 20:35 yvhqbat 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示