micro/client/client_selector.go
2015-12-08 00:08:17 +00:00

10 lines
222 B
Go

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