func GenVoltDB(u *URL) (string, error) {
	host, port := "localhost", "21212"
	if h := hostname(u.Host); h != "" {
		host = h
	}
	if p := hostport(u.Host); p != "" {
		port = p
	}
	return host + ":" + port, nil
}
func GenVoltDB(u *URL) (string, error) {
	host, port := "localhost", "21212"
	if h := hostname(u.Host); h != "" {
		host = h
	}
	if p := hostport(u.Host); p != "" {
		port = p
	}
	return host + ":" + port, nil
}
func GenVoltDB ( u * URL ) ( string , error ) { host , port := " " , " " if h := hostname ( u . Host ) ; h != " " { host = h } if p := hostport ( u . Host ) ; p != " " { port = p } return host + " " + port , nil }
// GenVoltDB generates a VoltDB DSN from the passed URL.
GenVoltDB generates a VoltDB DSN from the passed URL .