https://github.com/official-stallion/stallion
Fast message broker implemented with Golang.
https://github.com/official-stallion/stallion
go golang mb message-broker message-queue stallion
Last synced: 6 months ago
JSON representation
Fast message broker implemented with Golang.
- Host: GitHub
- URL: https://github.com/official-stallion/stallion
- Owner: official-stallion
- License: mit
- Created: 2022-08-07T13:20:08.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-24T12:02:07.000Z (almost 3 years ago)
- Last Synced: 2025-12-31T18:30:17.357Z (6 months ago)
- Topics: go, golang, mb, message-broker, message-queue, stallion
- Language: Go
- Homepage:
- Size: 128 KB
- Stars: 42
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

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.
## Guide
- [Install Stallion](#how-to-use)
- [Setup Stallion Server](#create-server-in-golang)
- [Using Docker](#create-a-server-with-docker)
- [Auth](#creating-a-server-with-auth)
## How to use?
Get package:
```shell
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.
### Create server in Golang
```go
package main
import "github.com/official-stallion/stallion"
func main() {
if err := stallion.NewServer(":9090"); err != nil {
panic(err)
}
}
```
### Create a server with docker
Check the docker [documentation](https://github.com/official-stallion/stable) for stallion server.
## Creating a server with Auth
You can create a Stallion server with username and password for Auth.
```go
package main
import "github.com/official-stallion/stallion"
func main() {
if err := stallion.NewServer(":9090", "root", "Pa$$word"); err != nil {
panic(err)
}
}
```