Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyData ¶ added in v1.0.0
type Gateway ¶
type Gateway interface { FindCompanies(ctx context.Context, request *ListCompaniesRequest) ([]CompanyData, error) FindMachines(ctx context.Context, request *ListMachinesRequest) ([]Machine, error) FindSensors(ctx context.Context, request *ListSensorsRequest) ([]Sensor, error) }
func NewAdapter ¶
func NewAdapter(client restclient.RestClient, env types.Environment) Gateway
type ListCompaniesRequest ¶ added in v1.0.0
type ListCompaniesRequest struct {
OwnCompanyID string
}
type ListMachinesRequest ¶
type ListSensorsRequest ¶
type ListSensorsRequest struct {
MachineID string
}
type SensorData ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.