util

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateListener

func CreateListener(endpoint string) (net.Listener, error)

CreateListener creates a listener on the specified endpoint.

func GetAddressAndDialer

func GetAddressAndDialer(endpoint string) (string, func(ctx context.Context, addr string) (net.Conn, error), error)

GetAddressAndDialer returns the address parsed from the given endpoint and a context dialer.

func GetBootTime

func GetBootTime() (time.Time, error)

GetBootTime empty implementation

func LocalEndpoint

func LocalEndpoint(path, file string) (string, error)

LocalEndpoint empty implementation

func LockAndCheckSubPath

func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error)

LockAndCheckSubPath empty implementation

func UnlockPath

func UnlockPath(fileHandles []uintptr)

UnlockPath empty implementation

Types

This section is empty.

Jump to

Keyboard shortcuts

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