Exemplo n.º 1
0
Arquivo: etcd.go Projeto: MiLk/swarm
// setTimeout sets the timeout used for connecting to the store
func setTimeout(cfg *etcd.Config, time time.Duration) {
	cfg.HeaderTimeoutPerRequest = time
}