예제 #1
0
파일: etcd.go 프로젝트: MiLk/swarm
// setTimeout sets the timeout used for connecting to the store
func setTimeout(cfg *etcd.Config, time time.Duration) {
	cfg.HeaderTimeoutPerRequest = time
}