uds

package
v0.0.0-...-9ec6d29 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Overview

Package uds contains helpers for testing external UDS functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSocketTree

func CreateSocketTree(baseDir string) (string, func(), error)

CreateSocketTree creates a local tree of unix domain sockets and pipes for use in testing:

  • /stream/echo
  • /stream/nonlistening
  • /seqpacket/echo
  • /seqpacket/nonlistening
  • /dgram/null
  • /pipe/in
  • /pipe/out

Additionally, it will attempt to connect to sockets at the following locations, and turn into an echo server once connected:

  • /stream/created-in-sandbox
  • /seqpacket/created-in-sandbox

Types

This section is empty.

Jump to

Keyboard shortcuts

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