linux

package
v0.0.0-...-ac156b6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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