sdnet

package module
v0.0.0-...-ef3d40f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(network, addr string) (net.Listener, error)

Listen returns a Listener passed by systemd or falls back to net.Listen

func ListenNoFallback

func ListenNoFallback(network, addr string) (net.Listener, error)

ListenNoFallback is like Listen, but returns an error instead of falling back

func ListenPacket

func ListenPacket(network, addr string) (net.PacketConn, error)

ListenPacket returns a PacketConn passed by systemd or falls back to net.ListenPacket

func ListenPacketNoFallback

func ListenPacketNoFallback(network, addr string) (net.PacketConn, error)

ListenPacketNoFallback is to ListenPacket what ListenNoFallback is to Listen

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL