butts-service

command module
v0.0.0-...-167b4ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 9 Imported by: 0

README

butts-service 🍑

An example of using NATS JetStream Key/Value Store and Micro

Requirements

Usage

[!TIP] Running NATS with JetStream enabled under docker can be done like so: docker pull nats:latest and then: docker run --rm --name nats-server -d -p 4222:4222 nats -js

If you want persistent storage then you can do something like this instead:

docker run --rm --name nats-server -d -p 4222:4222 -v nats:/data nats -js -sd /data

If you just want to use go then go run github.com/nats-io/nats-server/v2@v2.12.4 -js

If you have a NATS Server (with JetStream 🚀 enabled) on localhost:4222 then:

go run github.com/peterhellberg/butts-service@latest

Now you should be able to run:

go run github.com/nats-io/natscli/nats@latest req svc.butts --count 100 ""

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL