Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Model = resource.NewModel("viam-labs", "go-module-templates-powersensor", "custompowersensor")
)
Here is where we define your new model's colon-delimited-triplet (viam-labs:go-module-templates-powersensor:custompowersensor) viam-labs = namespace, go-module-templates-powersensor = repo-name, custompowersensor = model name. TODO: Change model namespace, family (often the repo-name), and model. For more information see https://docs.viam.com/registry/create/#name-your-new-resource-model
Functions ¶
This section is empty.
Types ¶
type Config ¶
TODO: Change the Config struct to contain any values that you would like to be able to configure from the attributes field in the component configuration. For more information see https://docs.viam.com/build/configure/#components
Click to show internal directories.
Click to hide internal directories.