Documentation
ΒΆ
Overview ΒΆ
package magistrala acts as an umbrella package containing multiple different microservices and defines all shared domain concepts.
Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
Package alarms contains domain concept definitions needed to support Alarms service feature, i.e.
|
Package alarms contains domain concept definitions needed to support Alarms service feature, i.e. |
|
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
middleware
Package middleware provides middleware for the alarms service.
|
Package middleware provides middleware for the alarms service. |
|
Package bootstrap contains the domain concept definitions needed to support SuperMQ bootstrap service functionality.
|
Package bootstrap contains the domain concept definitions needed to support SuperMQ bootstrap service functionality. |
|
api
Package api contains implementation of bootstrap service HTTP API.
|
Package api contains implementation of bootstrap service HTTP API. |
|
events
Package events provides the domain concept definitions needed to support bootstrap events functionality.
|
Package events provides the domain concept definitions needed to support bootstrap events functionality. |
|
events/consumer
Package consumer contains events consumer for events published by Bootstrap service.
|
Package consumer contains events consumer for events published by Bootstrap service. |
|
events/producer
Package producer contains the domain events needed to support event sourcing of Bootstrap service actions.
|
Package producer contains the domain events needed to support event sourcing of Bootstrap service actions. |
|
postgres
Package postgres contains repository implementations using PostgreSQL as the underlying database.
|
Package postgres contains repository implementations using PostgreSQL as the underlying database. |
|
tracing
Package tracing provides tracing instrumentation for SuperMQ Users service.
|
Package tracing provides tracing instrumentation for SuperMQ Users service. |
|
cmd
|
|
|
alarms
command
|
|
|
bootstrap
command
Package main contains bootstrap main function to start the bootstrap service.
|
Package main contains bootstrap main function to start the bootstrap service. |
|
cli
command
Package main contains cli main function to run the cli.
|
Package main contains cli main function to run the cli. |
|
postgres-reader
command
Package main contains postgres-reader main function to start the postgres-reader service.
|
Package main contains postgres-reader main function to start the postgres-reader service. |
|
postgres-writer
command
Package main contains postgres-writer main function to start the postgres-writer service.
|
Package main contains postgres-writer main function to start the postgres-writer service. |
|
provision
command
Package main contains provision main function to start the provision service.
|
Package main contains provision main function to start the provision service. |
|
re
command
Package main contains rule engine main function to start the service.
|
Package main contains rule engine main function to start the service. |
|
reports
command
Package main contains reports main function to start the service.
|
Package main contains reports main function to start the service. |
|
timescale-reader
command
Package main contains timescale-reader main function to start the timescale-reader service.
|
Package main contains timescale-reader main function to start the timescale-reader service. |
|
timescale-writer
command
Package main contains timescale-writer main function to start the timescale-writer service.
|
Package main contains timescale-writer main function to start the timescale-writer service. |
|
Package consumers contain the domain concept definitions needed to support SuperMQ consumer services functionality.
|
Package consumers contain the domain concept definitions needed to support SuperMQ consumer services functionality. |
|
notifiers
Package notifiers contain the domain concept definitions needed to support SuperMQ notifications functionality.
|
Package notifiers contain the domain concept definitions needed to support SuperMQ notifications functionality. |
|
notifiers/api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
notifiers/postgres
Package postgres contains repository implementations using PostgreSQL as the underlying database.
|
Package postgres contains repository implementations using PostgreSQL as the underlying database. |
|
notifiers/smpp
Package smpp contains the domain concept definitions needed to support Magistrala SMS notifications.
|
Package smpp contains the domain concept definitions needed to support Magistrala SMS notifications. |
|
notifiers/tracing
Package tracing provides tracing instrumentation for SuperMQ WebSocket adapter service.
|
Package tracing provides tracing instrumentation for SuperMQ WebSocket adapter service. |
|
writers
Package writers contain the domain concept definitions needed to support SuperMQ writer services functionality.
|
Package writers contain the domain concept definitions needed to support SuperMQ writer services functionality. |
|
writers/api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
writers/postgres
Package postgres contains repository implementations using Postgres as the underlying database.
|
Package postgres contains repository implementations using Postgres as the underlying database. |
|
writers/timescale
Package timescale contains repository implementations using Timescale as the underlying database.
|
Package timescale contains repository implementations using Timescale as the underlying database. |
|
internal
|
|
|
clients
Package clients contains the domain concept definitions needed to support Magistrala clients functionality for example: postgres, redis, grpc, jaeger.
|
Package clients contains the domain concept definitions needed to support Magistrala clients functionality for example: postgres, redis, grpc, jaeger. |
|
clients/redis
Package redis contains the domain concept definitions needed to support Magistrala redis cache functionality.
|
Package redis contains the domain concept definitions needed to support Magistrala redis cache functionality. |
|
email
Package email contains the domain concept definitions needed to support Magistrala email functionality.
|
Package email contains the domain concept definitions needed to support Magistrala email functionality. |
|
Package pkg contains library packages used by Magistrala services and external services that integrate with Magistrala.
|
Package pkg contains library packages used by Magistrala services and external services that integrate with Magistrala. |
|
errors
Package errors contains Magistrala errors definitions.
|
Package errors contains Magistrala errors definitions. |
|
prometheus
Package prometheus provides a framework for defining and collecting metrics for prometheus.
|
Package prometheus provides a framework for defining and collecting metrics for prometheus. |
|
sdk
Package sdk contains Magistrala SDK.
|
Package sdk contains Magistrala SDK. |
|
Package provision contains domain concept definitions needed to support Provision service feature, i.e.
|
Package provision contains domain concept definitions needed to support Provision service feature, i.e. |
|
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
Package re contain the domain concept definitions needed to support Magistrala Rule Egine services functionality.
|
Package re contain the domain concept definitions needed to support Magistrala Rule Egine services functionality. |
|
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
events
Package events provides the domain concept definitions needed to support clients events functionality.
|
Package events provides the domain concept definitions needed to support clients events functionality. |
|
Package readers provides a set of readers for various formats.
|
Package readers provides a set of readers for various formats. |
|
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
api/grpc
Package grpc contains implementation of Readers service gRPC API.
|
Package grpc contains implementation of Readers service gRPC API. |
|
middleware
Package middleware provides middleware for Magistrala Readers service.
|
Package middleware provides middleware for Magistrala Readers service. |
|
postgres
Package postgres contains repository implementations using Postgres as the underlying database.
|
Package postgres contains repository implementations using Postgres as the underlying database. |
|
timescale
Package timescale contains repository implementations using Timescale as the underlying database.
|
Package timescale contains repository implementations using Timescale as the underlying database. |
|
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
|
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations. |
|
Package tools contains tools for SuperMQ.
|
Package tools contains tools for SuperMQ. |
|
e2e
Package e2e contains entry point for end-to-end tests.
|
Package e2e contains entry point for end-to-end tests. |
|
e2e/cmd
command
Package main contains e2e tool for testing SuperMQ.
|
Package main contains e2e tool for testing SuperMQ. |
|
mqtt-bench
Package bench contains benchmarking tool for MQTT broker.
|
Package bench contains benchmarking tool for MQTT broker. |
|
mqtt-bench/cmd
command
Package main contains the entry point of the mqtt-bench tool.
|
Package main contains the entry point of the mqtt-bench tool. |
|
provision
Package provision is a simple utility to create a list of channels and clients connected to these channels with possibility to create certificates for mTLS use case.
|
Package provision is a simple utility to create a list of channels and clients connected to these channels with possibility to create certificates for mTLS use case. |
|
provision/cmd
command
Package main contains entry point for provisioning tool.
|
Package main contains entry point for provisioning tool. |
Click to show internal directories.
Click to hide internal directories.