gargoyle: Automatically spin up and spin down local daemons

[ bsd3, library, system ] [ Propose Tags ]

Gargoyle is a framework for managing daemons from Haskell. In the current release the only requirement is that the daemon be able to communicate over a Unix domain socket. See gargoyle-postgresql for a fully worked out example.

To use Gargoyle the client must:

  1. Define a value of the Gargoyle type which specifies how to administer the daemon.

  2. Create an executable whose main is gargoyleMain. The name of this executable should match the executable name specified in the _gargoyle_exec field of the Gargoyle.

  3. The client will run their code with withGargoyle to gain access to the daemon.

Versions [RSS] [faq] 0.1,
Dependencies base (>=4.9 && <4.11), directory (==1.3.*), filelock (==0.1.*), filepath (==1.4.*), network (==2.6.*), process (==1.4.*) [details]
License BSD-3-Clause
Copyright Copyright (C) Obsidian Systems LLC 2017
Author Obsidian Systems LLC
Category System
Uploaded by RyanTrinkle at 2017-10-12T21:52:45Z
Distributions NixOS:
Downloads 922 total (9 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees