root

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CMD_NAME = "congo"

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:   CMD_NAME,
		Short: "Congo is sensor simulator for smart city system development",
		Long:  "This CLI provides a scalable simulation of sensors, supporting any type and handling thousands of concurrent units",
		Run:   run,
	}
)

Functions

func NewBrokerClient

func NewBrokerClient(clientId string) (mqtt.Client, error)

func NewDataEmittedEventHandler

func NewDataEmittedEventHandler(client mqtt.Client) (*handler.DataEmittedHandler, error)

func NewEmitDataUseCase

func NewEmitDataUseCase(event events.EventInterface, eventDispatcher events.EventDispatcherInterface) (*usecase.EmitDataUseCase, error)

func NewFindAllSensorsUseCase

func NewFindAllSensorsUseCase() (*usecase.FindAllSensorsUseCase, error)

func NewSensorWebHandlers

func NewSensorWebHandlers(sensorChannel chan *entity.Sensor) (*web.SensorHandlers, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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