socket

package module
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package socket provides method to check if socket path is available.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailable

func IsAvailable(path string, timeout time.Duration) (bool, bool)

IsAvailable returns if a socket at path is available first boolean returns if socket path exists second boolean returns if socket is reachable

Types

This section is empty.

Jump to

Keyboard shortcuts

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