micro/selector/random/random.go
2015-12-09 19:38:50 +00:00

15 lines
257 B
Go

package random
import (
"github.com/micro/go-micro/cmd"
"github.com/micro/go-micro/selector"
)
func init() {
cmd.Selectors["random"] = NewSelector
}
func NewSelector(opts ...selector.Option) selector.Selector {
return selector.NewSelector(opts...)
}