package
2024.3.0+incompatible
Repository: https://github.com/hiveot/hub.git
Documentation: pkg.go.dev

# Functions

StartMqttTestServer creates a MQTT test server.
StartNatsTestServer generate a test configuration and starts a NKeys based nats test server A new temporary storage directory is used.
StartTestServer creates a NATS or MQTT test server depending on the requested type core is either "nats", or "mqtt" (default) This generates a certificate bundle for running the server, including a self signed CA.

# Structs

TestServer for testing application services This server provides an easy way to connect to the server by automatically creating a user and auth token when using ConnectInProc.