Documentation ¶
Index ¶
Constants ¶
View Source
const ClientPort = 11224
ClientPort is the default port for clients to connect
View Source
const MonitorPort = 11424
MonitorPort is the default monitor port
Variables ¶
This section is empty.
Functions ¶
func CreateClientConnSubscribeAndPublish ¶
CreateClientConnSubscribeAndPublish creates a conn and publishes
func RunServerWithPorts ¶
RunServerWithPorts runs the NATS server with a monitor port in a go routine
func RunStreamingServer ¶ added in v0.2.0
func RunStreamingServer() *nss.StanServer
RunStreamingServer runs the STAN server in a go routine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.