package client import ( "net" "gopkg.in/natefinch/npipe.v2" ) func (ch *ClientHandlers) Connect() (net.Conn, error) { return npipe.Dial(ch.addr) }