service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedPermissions = []string{
	"temperature", "humidity",
}

Functions

This section is empty.

Types

type Device

type Device struct {
	Client            *acapy.Client
	ConnectionID      string
	BrokerCredentials mqtt_pub.BrokerCredentials
}

type Service

type Service struct {
	ServerClient     *acapy.Client
	Agents           map[string]*Device
	CredDefinitionId string
}

func (*Service) Init

func (s *Service) Init(serverAgentIp string)

@title janus-issuer @version 1.0

func (*Service) RunApi

func (s *Service) RunApi(port string)

func (*Service) RunCollector added in v1.0.0

func (s *Service) RunCollector(timeoutInSeconds int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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