Add the link to cmd
This commit is contained in:
parent
1152b63c5d
commit
04e0864df4
@ -24,6 +24,7 @@ import (
|
|||||||
// selectors
|
// selectors
|
||||||
"github.com/micro/go-micro/selector"
|
"github.com/micro/go-micro/selector"
|
||||||
"github.com/micro/go-micro/selector/blacklist"
|
"github.com/micro/go-micro/selector/blacklist"
|
||||||
|
"github.com/micro/go-micro/selector/cache"
|
||||||
"github.com/micro/go-micro/selector/random"
|
"github.com/micro/go-micro/selector/random"
|
||||||
"github.com/micro/go-micro/selector/roundrobin"
|
"github.com/micro/go-micro/selector/roundrobin"
|
||||||
|
|
||||||
@ -141,6 +142,7 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefaultSelectors = map[string]func(...selector.Option) selector.Selector{
|
DefaultSelectors = map[string]func(...selector.Option) selector.Selector{
|
||||||
|
"cache": cache.NewSelector,
|
||||||
"random": random.NewSelector,
|
"random": random.NewSelector,
|
||||||
"roundrobin": roundrobin.NewSelector,
|
"roundrobin": roundrobin.NewSelector,
|
||||||
"blacklist": blacklist.NewSelector,
|
"blacklist": blacklist.NewSelector,
|
||||||
|
Loading…
Reference in New Issue
Block a user