fdo

package
v0.0.0-...-270f78c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Zlib Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FDOOwnerClient

type FDOOwnerClient struct {
	OwnerURL string
	Username string
	Password string
	Timeout  time.Duration
}

func (FDOOwnerClient) DeleteDeviceSVI

func (c FDOOwnerClient) DeleteDeviceSVI(id string) error

func (FDOOwnerClient) DeleteVoucher

func (c FDOOwnerClient) DeleteVoucher(guid string) error

func (FDOOwnerClient) GetDeviceSVI

func (c FDOOwnerClient) GetDeviceSVI(guid string) (string, error)

func (FDOOwnerClient) GetVouchers

func (c FDOOwnerClient) GetVouchers() ([]string, error)

func (FDOOwnerClient) PostVoucher

func (c FDOOwnerClient) PostVoucher(ov []byte) (string, error)

func (FDOOwnerClient) PutDeviceSVI

func (c FDOOwnerClient) PutDeviceSVI(info ServiceInfo) error

func (FDOOwnerClient) PutDeviceSVIRaw

func (c FDOOwnerClient) PutDeviceSVIRaw(info url.Values, body []byte) error

type ServiceInfo

type ServiceInfo struct {
	Module   string
	Var      string
	Filename string
	Bytes    []byte
	GUID     string
	Device   string
	Priority int
	OS       string
	Version  string
	Arch     string
	CRID     int
	Hash     string
}

Jump to

Keyboard shortcuts

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