Documentation

Overview

Package router is a network/router selector

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSelector

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

NewSelector returns a new router based selector

func WithClient

func WithClient(c client.Client) selector.Option

WithClient sets the client for the request

func WithRouter

func WithRouter(r router.Router) selector.Option

WithRouter sets the router as an option

Types

This section is empty.

Source Files