herd
Version, currently 0.1.02 versions
- 0.1.1latestMay 22, 2017
- 0.1.0not indexedMay 22, 2017
github.com/molovo/herd
A simple module to help with running multi-threaded processes in Crystal
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
herd:
github: molovo/herd
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Herd
A simple module to help with running multi-threaded processes in Crystal
Installation
Add this to your application's shard.yml:
dependencies:
herd:
github: molovo/herd
Usage
require "herd"
require "http/server"
# Create a new cluster with 4 threads
cluster = Cluster.new 4
# Specify the process to run
cluster.execute do
server = HTTP::Server.new(8080) do |context|
context.response.print "Hello World!"
end
puts "Thread #{Cluster.thread} listening on http://127.0.0.1:8080"
server.listen true
end
Contributing
- Fork it ( https://github.com/molovo/cluster/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- molovo James Dinsdale - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- May 22, 2017
- Commit
df619120ac4c- Indexed
- not yet
Dependents
Repository
github.com/molovo/herd
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2