micro/client/client_selector.go

10 lines
222 B
Go
Raw Normal View History

2015-12-08 03:08:17 +03:00
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