// DB allow to define yourself url
DB allow to define yourself url
// DB allow to define yourself url
func DB(table string) *Client {
	var db Client
	db.hostDB = clone()
	db.method, db.hostDB.Path = "GET", path.Join(db.hostDB.Path, table)
	val := url.Values{}
	val.Set("timeout", "8s")
	db.queries = val
	db.search = F{}
	db.metrics = F{}
	db.groups = F{}
	db.aggregations = F{}
	return &db
}
func DB ( table string ) * Client { var db Client db . hostDB = clone ( ) db . method , db . hostDB . Path = " " , path . Join ( db . hostDB . Path , table ) val := url . Values { } val . Set ( " " , " " ) db . queries = val db . search = F { } db . metrics = F { } db . groups = F { } db . aggregations = F { } return & db }
DB allow to define yourself url
DB allow to define yourself url