go-micro: github.com/micro/go-micro/client/selector/router Index | Files

package router

import "github.com/micro/go-micro/client/selector/router"

Package router is a network/router selector

Index

Package Files

router.go

func NewSelector Uses

func NewSelector(opts ...selector.Option) selector.Selector

NewSelector returns a new router based selector

func WithClient Uses

func WithClient(c client.Client) selector.Option

WithClient sets the client for the request

func WithRouter Uses

func WithRouter(r router.Router) selector.Option

WithRouter sets the router as an option

Package router imports 9 packages (graph) and is imported by 10 packages. Updated 2020-01-30. Refresh now. Tools for package owners.