router

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package router provides utilities for accessing or controlling different routers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base interface {
	support.Router
}

Base contains only the base router functionality all WiFi testing router controllers must support.

Use this in places where you are passing around a router instance where you do not need a specific piece of router functionality aside from what this supports. When you need specific supported router functionality, simply cast this instance to the appropriate interface or a specific router type directly. There are helper functions in the support package for casting support.Router instances to different support interfaces, which can be used with this as well since Base is functionality equivalent to support.Router.

type Standard

Standard contains the functionality the standard WiFi testing router controller should support.

Use this in tests if you are not specifically testing with a router that has non-standard support. There is no guarantee of what type of router this is; it just guarantees that the given router controller instance supports controlling these features.

If you require a specific support.Type of router, use its respective router implementation instead.

type StandardWithBridgeAndVeth

type StandardWithBridgeAndVeth interface {
	Standard
	support.Bridge
	support.Veth
	support.VethBridgeBinding
}

StandardWithBridgeAndVeth includes all the functionality in Standard as well as support.Bridge, support.Veth, and support.VethBridgeBinding.

type StandardWithFrameSender

type StandardWithFrameSender interface {
	Standard
	support.FrameSender
}

StandardWithFrameSender includes all the functionality in Standard as well as support.FrameSender.

Directories

Path Synopsis
Package ax provides utilities for accessing or controlling AX enabled routers.
Package ax provides utilities for accessing or controlling AX enabled routers.
Package common includes common logic used across multiple router implementations.
Package common includes common logic used across multiple router implementations.
support
Package support identifies the different common features routers may support through interfaces that each router may or may not support.
Package support identifies the different common features routers may support through interfaces that each router may or may not support.
Package legacy provides utilities for accessing or controlling legacy router architecture.
Package legacy provides utilities for accessing or controlling legacy router architecture.
Package openwrt provides utilities for accessing and controlling Router routers.
Package openwrt provides utilities for accessing and controlling Router routers.
uci
Package uci contains utility functions to wrap around the uci program.
Package uci contains utility functions to wrap around the uci program.

Jump to

Keyboard shortcuts

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