firmware

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Unlicense Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUpdate

func CheckUpdate(Conf ins.FirmwareConfigurations) (*bytes.Buffer, error)

func DownloadFirmware

func DownloadFirmware(Conf ins.FirmwareConfigurations, firmwareConfig *bytes.Buffer) error

func UpdateFirmware

func UpdateFirmware(Conf ins.FirmwareConfigurations) error

Types

type FIrmware

type FIrmware struct {
	GwId         string `json:"gwid"`
	GwType       string `json:"gwtype"`
	Model        string `json:"model"`
	Manufacturer string `json:"manufacturer"`
	Version      string `json:"version"`
	Date         string `json:"date,omitempty"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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