router

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 11 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