Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BastecClient ¶
type BastecClient struct {
RequestURL url.URL
DisallowedPrefixes []string
// contains filtered or unexported fields
}
func (*BastecClient) Browse ¶
func (bastecClient *BastecClient) Browse() (valueResponse *BrowseResponse, err error)
func (*BastecClient) GetValues ¶
func (bastecClient *BastecClient) GetValues(values []string) (response *ValuesResponse, err error)
func (*BastecClient) GetVersion ¶
func (bastecClient *BastecClient) GetVersion() (response []byte, err error)
type BrowseResponse ¶
type BrowseResponse struct {
JsonRpc string `json:"json-rpc"`
Result struct {
DevId string `json:"devid"`
Points []PointConfig `json:"points"`
} `json:"result"`
Error string `json:"error"`
Id int `json:"id"`
}
type JsonRpcRequest ¶
type PointConfig ¶
Click to show internal directories.
Click to hide internal directories.