Categorygithub.com/libp2p/go-socket-activation
modulepackage
0.1.0
Repository: https://github.com/libp2p/go-socket-activation.git
Documentation: pkg.go.dev

# README

go-socket-activation

Coverage Status Travis CI Discourse posts

A library for creating socket-activated processes.

This library provides access to sockets registered by the system's init daemon. See: http://0pointer.de/blog/projects/socket-activation.html for details.

At the moment, this library only supports systemd.

Table of Contents

Install

go get -u github.com/libp2p/go-socket-activation

Usage

Contribute

PRs are welcome!

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © 2019 Protocol Labs

# Functions

ListListeners lists the names of the available listeners.
ListListeners lists the names of the available packet connections.
TakeSockets takes the listeners associated with the given name.
TakePacketConns takes the packet connections associated with the given name.