recvfd

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Overview

Package recvfd provides an NSE registry server chain element that:

  1. Receives and fd over a unix file socket if the nse.URL is an inode://${dev}/${inode} url
  2. Rewrites the nse.URL to unix:///proc/${pid}/fd/${fd} so it can be used by a normal dialer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkServiceEndpointRegistryClient added in v1.1.0

func NewNetworkServiceEndpointRegistryClient() registry.NetworkServiceEndpointRegistryClient

NewNetworkServiceEndpointRegistryClient - returns a new null client that does nothing but call next.NetworkServiceEndpointRegistryClient(ctx).

func NewNetworkServiceEndpointRegistryServer

func NewNetworkServiceEndpointRegistryServer() registry.NetworkServiceEndpointRegistryServer

NewNetworkServiceEndpointRegistryServer - creates new NSE registry chain element that will:

  1. Receive and fd over a unix file socket if the nse.URL is an inode://${dev}/${inode} url
  2. Rewrite the nse.URL to unix:///proc/${pid}/fd/${fd} so it can be used by a normal dialer

Types

This section is empty.

Jump to

Keyboard shortcuts

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