```shell mac install $ brew install consul
https://segmentfault.com/a/1190000041634906
Helm is the package manager for Kubernetes。
Prometheus设计 当Prometheus刮取你的实例的HTTP端点时,客户端库会将所有跟踪的指标的当前状态发送到服务器。
Panels https://grafana.com/docs/grafana/latest/panels/working-with-panels/
gen go generate命令是go 1.4版本里面新添加的一个命令,当运行go generate时,它将扫描与当前包相关的源代码文件,找出所有包含”//go:generate”的特殊注释,提取并执行该特殊注释后面的命令,命令为可执行程序,形同shell下面执行。
模版模式 Define the skeleton of an algorithm in an operation,deferring some steps tosubclasses.Template Method lets subclasses redefine certain steps of analgorithm without changing the algorithm’s structure.(定义一个操作中的算法的框架,而将一些步骤延迟到子类中。使得子类可以不改变一个算法的结构即可重定义该算法的某些特定步骤。)
策略模式 策略模式(Strategy Pattern):定义一系列算法,将每一个算法封装起来,并让它们可以相互替换。策略模式让算法独立于使用它的客户而变化,也称为政策模式(Policy)。