12 lines
162 B
Go
12 lines
162 B
Go
|
package client
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
|
||
|
"gopkg.in/natefinch/npipe.v2"
|
||
|
)
|
||
|
|
||
|
func (ch *ClientHandlers) Connect() (io.ReadWriteCloser, error) {
|
||
|
return npipe.Dial(ch.addr)
|
||
|
}
|