driver

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateClient

type TemplateClient struct {
	Client interface{}
	Config TemplateConfig
}

TemplateClient is the structure for Template client.

func NewClient

func NewClient(config interface{}) (*TemplateClient, error)

NewClient allocate and return a Template client.

func (*TemplateClient) Get

func (c *TemplateClient) Get() (results []byte, err error)

Get get register.

func (*TemplateClient) GetStatus

func (c *TemplateClient) GetStatus() string

GetStatus get device status.

func (*TemplateClient) Set

func (c *TemplateClient) Set() (results []byte, err error)

Set set register.

type TemplateConfig

type TemplateConfig struct {
}

TemplateConfig is the structure for client configuration.

Jump to

Keyboard shortcuts

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