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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1.0, 0.1.1.1, 0.1.2.0
Dependencies base (>=4.9 && <4.11), directory (>=1.3 && <1.4), filelock (>=0.1 && <0.2), filepath (>=1.4 && <1.5), network (>=2.6 && <2.7), process (>=1.4 && <1.5) [details]
License BSD-3-Clause
Copyright Copyright (C) Obsidian Systems LLC 2017
Author Obsidian Systems LLC
Maintainer maintainer@obsidian.systems
Category System
Uploaded by RyanTrinkle at 2017-10-12T21:52:45Z
Distributions NixOS:0.1.2.0
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 1377 total (17 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]