A fast message broker implemented with Golang programming language. Stallion is build using no external libraries, just internal Golang libraries. You can use Stallion in order to make communication between clients with sending and receiving events.
Get package:
go get github.com/official-stallion/stallion@latest
Now to set the client up you need to create a stallion server.
Stallion server is the message broker server.
package main
import "github.com/official-stallion/stallion"
func main() {
if err := stallion.NewServer(":9090"); err != nil {
panic(err)
}
}
Check the docker documentation for stallion server.
You can create a Stallion server with username and password for Auth.
package main
import "github.com/official-stallion/stallion"
func main() {
if err := stallion.NewServer(":9090", "root", "Pa$$word"); err != nil {
panic(err)
}
}