guixue / device-virtual-go

Owner: Device WG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Device Virtual Go

Build Status Code Coverage Code Coverage Go Report Card GitHub Latest Dev Tag) GitHub Latest Stable Tag) GitHub License GitHub go.mod Go version GitHub Pull Requests GitHub Contributors GitHub Committers GitHub Commit Activity

Overview

The virtual device service simulates different kinds of devices to generate events and readings to the core data micro service, and users send commands and get responses through the command and control micro service. These features of the virtual device services are useful when executing functional or performance tests without having any real devices.

Usage

Users can refer to the document to learn how to use this device service.

Build with NATS Messaging

Currently, the NATS Messaging capability (NATS MessageBus) is opt-in at build time. This means that the published Docker image and Snaps do not include the NATS messaging capability.

The following make commands will build the local binary or local Docker image with NATS messaging capability included.

make build-nats
make docker-nats

The locally built Docker image can then be used in place of the published Docker image in your compose file. See Compose Builder nat-bus option to generate compose file for NATS and local dev images.

Community

License

Apache-2.0

About

Owner: Device WG

License:Apache License 2.0


Languages

Language:Go 93.7%Language:Makefile 2.4%Language:Dockerfile 2.1%Language:Shell 1.9%