Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Fast message broker implemented with Golang.

NotificationsYou must be signed in to change notification settings

official-stallion/stallion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo


go versionversion
versionversionversion


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 andreceiving events.

Guide

How to use?

Get package:

go get github.com/official-stallion/stallion@latest

Now to set the client up you need to create astallion server.
Stallion server is the message broker server.

Create server in Golang

package mainimport"github.com/official-stallion/stallion"funcmain() {iferr:=stallion.NewServer(":9090");err!=nil {panic(err)}}

Create a server with docker

Check the dockerdocumentation for stallion server.

Creating a server with Auth

You can create a Stallion server with username and password for Auth.

package mainimport"github.com/official-stallion/stallion"funcmain() {iferr:=stallion.NewServer(":9090","root","Pa$$word");err!=nil {panic(err)}}

[8]ページ先頭

©2009-2025 Movatter.jp