Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/lb-stomp
https://github.com/vkuznet/lb-stomp
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vkuznet/lb-stomp
- Owner: vkuznet
- License: mit
- Created: 2020-09-29T11:14:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-29T20:12:11.000Z (over 3 years ago)
- Last Synced: 2024-10-30T06:27:35.860Z (3 months ago)
- Language: Go
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### lb-stomp
[![Build Status](https://travis-ci.org/vkuznet/lb-stomp.svg?branch=master)](https://travis-ci.org/vkuznet/lb-stomp)
[![Go Report Card](https://goreportcard.com/badge/github.com/vkuznet/lb-stomp)](https://goreportcard.com/report/github.com/vkuznet/lb-stomp)
[![GoDoc](https://godoc.org/github.com/vkuznet/lb-stomp?status.svg)](https://godoc.org/github.com/vkuznet/lb-stomp)Load-balanced Stomp (lb-stomp) package provides load-balanced
interface to Stomp AMQ brokers.Built and test code:
```
go build
go test
```Example how to use it
```
import stomp "github.com/vkuznet/lb-stomp"// create new manager
config := stomp.Config{StompURI: "abc:123", StompLogin: "test", StompPassword: "test"}
mgr := stomp.New(config)
data := `{"test": 1}`
err := stomp.Send([]byte(data))
```