directory
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 11, 2023
License: MIT
Opens a new window with license information.
README
¶
Streaming Examples
The examples in the subdirectories demonstrate the basic usage of the streaming
package from the goadesign/pulse
repository.
Running the Examples
To run the examples, follow these steps:
-
Make sure you have Go installed on your system. You can download and install it from the official Go website: https://golang.org/.
-
Open a terminal or command prompt.
-
Clone the goadesign/pulse
repository by running the following command:
git clone https://github.com/goadesign/pulse.git
-
Change into the example directory (e.g. examples/streaming/single-reader
):
cd pulse/examples/streaming/single-reader
-
Install the required dependencies by running the following command:
go get github.com/redis/go-redis/v9 goa.design/pulse/rmap
-
Build the Go program by executing the following command:
go build
-
Run the program using the following command:
./single-reader
This will execute the program and demonstrate the basic operations on streaming.
Directories
¶
Click to show internal directories.
Click to hide internal directories.