device

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flasher

type Flasher interface {
	Flash() error
	Configure() error
	Write() error
}

Flasher is an entity for flashing different devices

func New

func New(c *cli.Context) Flasher

New returns new Flasher instance

type ListItem

type ListItem struct {
	Title  string
	Alias  string
	Images map[string]string
	Models []ListItem
}

ListItem is an item in supported devices list

func ListMapping

func ListMapping() []*ListItem

ListMapping - print supported devices from mapping.json file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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