lotusfier

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 15 Imported by: 0

README

Lotusfier

Go Report Card MIT Go Reference builds.sr.ht status

This tool allows you to wrap a downstream service while fulfilling the Lotus contract of listening on port 5000 and providing /liveness and /readiness endpoints. Currently, the following signals are passed to the downstream process: SIGIN, SIGKILL, SIGTERM and SIGHUP.

Install

$ go install git.sr.ht/~jcmuller/lotusfier@latest

or, via nix flakes

$ nix profile install 'sourcehut:~jcmuller/lotusfier'

Usage

$ lotusfier -addr http://localhost:8000/ -- python3 -mhttp.server
$ nix run 'sourcehut:~jcmuller/lotusfier/main' -- -addr http://localhost:8000/ -- python3 -mhttp.server  

Roadmap

  • Add custom downstream status check

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