testsocket

package
v0.11.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package testsocket creates private, short-lived paths for Unix socket tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(t testing.TB) string

Path avoids test-name prefixes and the long default macOS TMPDIR. Unix sockaddr limits apply to pathname bytes, including the socket filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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