Documentation ¶
Index ¶
- type SampleConfig
- type SamplePeripheral
- func (d *SamplePeripheral) Close(ctx context.Context)
- func (d *SamplePeripheral) CollectMetrics(ctx context.Context, param map[string]string) ([]*arhatgopb.PeripheralMetricsMsg_Value, error)
- func (d *SamplePeripheral) Operate(ctx context.Context, params map[string]string, data []byte) ([][]byte, error)
- type SamplePeripheralConnector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SamplePeripheral ¶
type SamplePeripheral struct {
// contains filtered or unexported fields
}
func (*SamplePeripheral) Close ¶
func (d *SamplePeripheral) Close(ctx context.Context)
func (*SamplePeripheral) CollectMetrics ¶
func (d *SamplePeripheral) CollectMetrics( ctx context.Context, param map[string]string, ) ([]*arhatgopb.PeripheralMetricsMsg_Value, error)
type SamplePeripheralConnector ¶
type SamplePeripheralConnector struct{}
func (*SamplePeripheralConnector) Connect ¶
func (c *SamplePeripheralConnector) Connect( ctx context.Context, target string, params map[string]string, tlsConfig *arhatgopb.TLSConfig, ) (extperipheral.Peripheral, error)
Click to show internal directories.
Click to hide internal directories.