Documentation
¶
Index ¶
- Variables
- func DialPipe(path string, timeout *time.Duration) (net.Conn, error)
- func ListenPipe(path, sddl string) (net.Listener, error)
- func LookupSidByName(name string) (sid string, err error)
- func MakeOpenFile(h syscall.Handle) (io.ReadWriteCloser, error)
- type AccountLookupError
- type SddlConversionError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFileClosed = errors.New("file has already been closed") ErrTimeout = &timeoutError{} )
View Source
var ( // This error should match net.errClosing since docker takes a dependency on its text ErrPipeListenerClosed = errors.New("use of closed network connection") )
Functions ¶
func DialPipe ¶
DialPipe connects to a named pipe by path, timing out if the connection takes longer than the specified duration. If timeout is nil, then the timeout is the default timeout established by the pipe server.
func LookupSidByName ¶
LookupSidByName looks up the SID of an account by name
func MakeOpenFile ¶
func MakeOpenFile(h syscall.Handle) (io.ReadWriteCloser, error)
Types ¶
type AccountLookupError ¶
func (*AccountLookupError) Error ¶
func (e *AccountLookupError) Error() string
type SddlConversionError ¶
func (*SddlConversionError) Error ¶
func (e *SddlConversionError) Error() string
Click to show internal directories.
Click to hide internal directories.