Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnixSocketNotExists = errors.New("util/socket: unix socket does not exists")
ErrUnixSocketNotExists is returned if the socket won't appear within the timeout duration.
Functions ¶
func WaitForUnixSocket ¶ added in v1.11.0
WaitForUnixSocket waits for the duration of `timeout` until `path` exists by checking it every `interval`. It returns `ErrUnixSocketNotExists` if the socket won't appear within the timeout, otherwise it returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.