move this cruft

This commit is contained in:
Asim 2015-12-08 00:08:17 +00:00
parent 140febb081
commit 6ef3b81a18
2 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1,9 @@
package client
import (
"github.com/micro/go-micro/registry"
)
// Selector takes a Registry and returns a NodeSelector.
// Used by the client to initialise a selector.
type Selector func(registry.Registry) NodeSelector

View File

@ -21,10 +21,6 @@ type NodeSelector interface {
Reset() Reset()
} }
// Selector takes a Registry and returns a NodeSelector.
// Used by the client to initialise a selector.
type Selector func(registry.Registry) NodeSelector
func init() { func init() {
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
} }