Skip to content

jdef/gotrig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

about

This lib is inspired by s6 fifodirs. I wrote this because I don't want to have to link in the whole s6 lib, I just want the fifodirs part for another project. The C code is blatantly copy/pasted from upstream.

This is pretty experimental stuff, it may burn your house down.

usage

:; go get github.com/jdef/gotrig

## assuming that your $GOPATH/bin is in your $PATH
:; mkdir -p /tmp/abc
:; listen /tmp/abc/ &
:; notify /tmp/abc/ billy
:; kill %

About

lightweight fifo-based IPC event triggers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published