Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultVersion = "v1" DefaultServiceName = "hello-world-cluster" DefaultServiceType = "physical_device" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Version string `json:"version"`
ServiceName string `json:"name"`
ServiceType string `json:"type"`
Guid string `json:"guid"`
ResourceType string `json:"resourceType"`
ResourceID string `json:"resourceID"`
ProductID string `json:"productID"`
ManufactureID string `json:"manufactureID"`
}
func NewDefaultService ¶
func NewDefaultService() *Service
Click to show internal directories.
Click to hide internal directories.