linux

package
v0.0.0-...-04c4f09 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Down

func Down(adapterID string) error

func Reset

func Reset(adapterID string) error

func Up

func Up(adapterID string) error

Types

type AdapterInfo

type AdapterInfo struct {
	AdapterID string
	Address   string
	Type      string
	Enabled   bool
}

func GetAdapter

func GetAdapter(adapterID string) (a AdapterInfo, err error)

GetAdapter return status information for a controller

func GetAdapters

func GetAdapters() ([]AdapterInfo, error)

GetAdapters return a list of status information of available controllers

type BackendType

type BackendType string
const (
	BackendBtmgmt    BackendType = "btmgmt"
	BackendHCI       BackendType = "hci"
	BackendHCIConfig BackendType = "hciconfig"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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