Registry / networking / libp2p-go-socket-activation

libp2p-go-socket-activation

JSON →
library0.1.1gogounverified

Provides socket activation support for libp2p, allowing services to be started on demand by systemd or similar init systems.

go get github.com/libp2p/go-socket-activation
INSTALL
IMPORT
SIG · LIBP2P-GO-SOCKET-A
L
libp2p-go-socket-activation
networkinggov0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

socketactivation
github.com/libp2p/go-socket-activation

Retrieve socket-activated listeners from the environment.

package main import ( "fmt" "github.com/libp2p/go-socket-activation" ) func main() { listeners, err := socketactivation.Listeners() if err != nil { panic(err) } fmt.Printf("Got %d listeners\n", len(listeners)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libp2p-go-socket-activation — go get libp2p-go-socket-activation · libregistry