package
Version:
v1.1.0-beta.2
Opens a new window with list of versions in this module.
Published: Dec 11, 2023
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Module loads the NATS module providing an initialized client.
The module is only loaded once.
NewEvent returns an initialized NATS client that implements event repository.
Client represents a NATS client that implements the event repository.
func NewClient(conn *nats.Conn) *Client
NewClient creates a new NATS client.
Publish publishes an event slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.