code: func (daemon *Daemon) StoreHosts(hosts []string) {
  	if daemon.hosts == nil {
  		daemon.hosts = make(map[string]bool)
  	}
  	for _, h := range hosts {
  		daemon.hosts[h] = true
  	}
  }
docs: // StoreHosts stores the addresses the daemon is listening on