mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
Some checks failed
build / windows (push) Has been cancelled
build / other_os (push) Has been cancelled
build / mac_amd64 (push) Has been cancelled
build / mac_arm64 (push) Has been cancelled
build / linux (push) Has been cancelled
build / go1.24 (push) Has been cancelled
build / linux_386 (push) Has been cancelled
build / lint (push) Has been cancelled
build / android-all (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/386 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/amd64 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v6 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v7 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm64 (push) Has been cancelled
Build & Push Docker Images / Merge & Push Final Docker Image (push) Has been cancelled
24 lines
800 B
Go
24 lines
800 B
Go
//go:build windows || plan9
|
|
|
|
// Package sdactivation provides support for systemd socket activation,
|
|
// wrapping the coreos/go-systemd package.
|
|
// This wraps the underlying go-systemd binary, as it fails to build on plan9
|
|
// https://github.com/coreos/go-systemd/pull/440
|
|
package sdactivation
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
// ListenersWithNames maps a listener name to a set of net.Listener instances.
|
|
// This wraps the underlying go-systemd binary, as it fails to build on plan9
|
|
// https://github.com/coreos/go-systemd/pull/440
|
|
func ListenersWithNames() (map[string][]net.Listener, error) {
|
|
return make(map[string][]net.Listener), nil
|
|
}
|
|
|
|
// Listeners returns a slice containing a net.Listener for each matching socket type passed to this process.
|
|
func Listeners() ([]net.Listener, error) {
|
|
return nil, nil
|
|
}
|