eth

package
v0.0.0-...-20aa718 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name             string
	Speed            uint32
	Link             bool
	SupportedSpeed   []string
	AdvertisingSpeed []string
	Module           *Module
	FirmwareVersion  string
}

Device represents the ethernet device

func NewDecoder

func NewDecoder(name string) *Device

NewDecoder creates and initializes a Device as Decoder

func (*Device) Decode

func (d *Device) Decode() error

Decode makes Device satisfy the mox.Decoder interface

type Module

type Module struct {
	FormFactor   string
	VendorName   string
	ProductName  string
	SerialNumber string
	Connector    string
	CableLength  uint8
}

Module represents the module

Jump to

Keyboard shortcuts

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