appDistanceControl

package module
v0.0.0-...-dc9aac8 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 1

README

App DistanceControl

The library module app/distancecontrol implements the application part of the DistanceControl setup for Perinets Starter Kit Plus. It`s a tiny example to demonstrate the recommended structure for container development for the periMICA.

Dual License

This software is by default licensed via the GNU Affero General Public License version 3. However it is also available with a commercial license on request (https://perinet.io/contact).

Documentation

Overview

The appDistanceControl package implements the logic of the DistanceControl container. It is the application logic of Perinets Starter Kit Plus distributed application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistanceController

type DistanceController struct {
	// contains filtered or unexported fields
}

func NewDistanceControl

func NewDistanceControl(limit uint32, contactor chan string, distances chan mqttclient.MQTTClientSubscriberData) *DistanceController

create a new DistanceController

func (*DistanceController) Cancel

func (dC *DistanceController) Cancel()

cancel the DistanceController

func (*DistanceController) SetLimit

func (dC *DistanceController) SetLimit(limit uint32)

Jump to

Keyboard shortcuts

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