namedpipe

package
v0.0.0-...-af616ac Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct{}

Server is a noop implementation in case we are not on a Windows platform.

func New

func New(pipeName string, hnd daemon.Handler) *Server

New returns a new Windows Named Pipe Server.

func (*Server) Close

func (s *Server) Close() error

Close implements io.Closer

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() (err error)

ListenAndServe on a Windows named pipe..

Jump to

Keyboard shortcuts

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