Documentation ¶ Index ¶ func GetFullPath(name string) string func New(path, sddl string, bufferSize int32) (net.Listener, error) func ParsePath(path string) (string, error) type Dialer func NewDialer(path string, timeout time.Duration) (Dialer, error) 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: https://docs.microsoft.com/en-us/windows/desktop/secauthz/security-descriptor-string-format https://docs.microsoft.com/en-us/windows/desktop/secauthz/ace-strings 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`. Source Files ¶ View all Source files npipe.go Click to show internal directories. Click to hide internal directories.