Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
yuxiaobo 03e83d6c30 add license in /go file
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-21 22:30:02 +08:00
Alain Jobart 2c12828caf Introducing key.Destination.
key.Destination is an interface that describes where a query should be
executed. It can be a shard, a list of shards, a keyrange, a list of
keyrange, a keyspace id, a list of keyspace ids, any shard, or all
shards.

Using it in the resolver, everywhere but V3.
For V3, we should replace vindex.KsidOrRange and vindex.Ksids with
Destinations, so it's a more far-reaching change.

Also moving all the related tests to their new location. And removing
old now unused code.

Signed-off-by: Alain Jobart <alainjobart@google.com>
2018-03-02 11:23:50 -08:00