diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-08-02 15:07:53 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-08-02 15:07:53 +0200 |
commit | ca6003af1a7e1adb7d45879c2d5038bc05c2bb1a (patch) | |
tree | 97a3620b0fc5c7a0ee032fe7d12d37b6303cfb01 /vendor/github.com/ftrvxmtrx/fd/README.md | |
parent | 639870b5083a1e66f4584ec7a5f30492fcdb7168 (diff) |
Migrate to modules, refactor Makefile and use Travis for CI
- migrate to Go modules and remove vendor
- refactor Makefile
- add version package and store version
- split extras from the rest
- use travis for CI
Change-Id: I81b35220653b0f7c9a0fcdd4c527d691ec1e96c1
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'vendor/github.com/ftrvxmtrx/fd/README.md')
-rw-r--r-- | vendor/github.com/ftrvxmtrx/fd/README.md | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vendor/github.com/ftrvxmtrx/fd/README.md b/vendor/github.com/ftrvxmtrx/fd/README.md deleted file mode 100644 index 7a8a239..0000000 --- a/vendor/github.com/ftrvxmtrx/fd/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# fd - -Package fd provides a simple API to pass file descriptors -between different OS processes. - -It can be useful if you want to inherit network connections -from another process without closing them. - -Example scenario: - - * Running server receives a "let's upgrade" message - * Server opens a Unix domain socket for the "upgrade" - * Server starts a new copy of itself and passes Unix domain - socket name - * New copy starts reading data from the socket - * Server sends its state over the socket, also sending the number - of network connections to inherit, then it sends those connections - using fd.Put() - * New server copy reads the state and inherits connections using fd.Get(), - checks that everything is OK and writes an "OK" message to the socket - * Server receives "OK" message and kills itself - -## Documentation - -[fd on godoc.org](http://godoc.org/github.com/ftrvxmtrx/fd) |