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