npipes

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullPath

func GetFullPath(name string) string

GetFullPath returns the full path with the named pipe name

func New

func New(path, sddl string, bufferSize int32) (net.Listener, error)

New creates a named pipe with `path`, `sddl` and `bufferSize` `sddl`: a format string of the Security Descriptor Definition Language, default is builtin administrators and local system `bufferSize`: measurement is KB, default is 64 refer:

func ParsePath added in v0.1.0

func ParsePath(path string) (string, error)

Types

type Dialer

type Dialer func(context.Context, string) (net.Conn, error)

func NewDialer

func NewDialer(path string, timeout time.Duration) (Dialer, error)

NewDialer creates a Dialer to connect to a named pipe by `path`.

Jump to

Keyboard shortcuts

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