mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-23 17:53:05 +02:00
15 lines
264 B
Go
15 lines
264 B
Go
package random
|
|
|
|
import (
|
|
"github.com/micro/go-micro/cmd"
|
|
"github.com/micro/go-micro/selector"
|
|
)
|
|
|
|
func init() {
|
|
cmd.DefaultSelectors["random"] = NewSelector
|
|
}
|
|
|
|
func NewSelector(opts ...selector.Option) selector.Selector {
|
|
return selector.NewSelector(opts...)
|
|
}
|