router

package
v1.18.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL