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.
Click to show internal directories.
Click to hide internal directories.