legacy

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromLegacyService

func FromLegacyService(service Service) (result devicemodel.Service)

func FromLegacyServices

func FromLegacyServices(legacy []Service) (result []devicemodel.Service)

func Testenv

func Testenv(ctx context.Context, wg *sync.WaitGroup) (managerurl string, repourl string, searchurl string, selectionurl string, err error)

func TestenvWithoutApi

func TestenvWithoutApi(ctx context.Context, wg *sync.WaitGroup) (managerurl string, repourl string, searchurl string, err error)

Types

type Service

type Service struct {
	Id          string                  `json:"id"`
	LocalId     string                  `json:"local_id"`
	Name        string                  `json:"name"`
	Description string                  `json:"description"`
	Interaction devicemodel.Interaction `json:"interaction"`
	AspectIds   []string                `json:"aspect_ids"`
	ProtocolId  string                  `json:"protocol_id"`
	FunctionIds []string                `json:"function_ids"`
	RdfType     string                  `json:"rdf_type"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL