aboutsummaryrefslogtreecommitdiff
path: root/pipeln.go
AgeCommit message (Collapse)Author
2022-10-02Use signal values from syscallv1.0.3Grégoire Duchêne
There is no change in API or behavior.
2022-06-02Have DialContext return upon context cancellationv1.0.1Grégoire Duchêne
2021-06-02Move addr below PipeListenerDialerv1.0.0Grégoire Duchêne
2021-06-02Add a bit more documentationGrégoire Duchêne
This mostly redirects people to the standard library documentation as PipeListenerDialer tries to follow the interfaces described there.
2021-03-16PipeListenerDialer.Close should be called onceGrégoire Duchêne
PipeListenerDialer.Close will return unix.EINVAL if it is called more than once. This is to emulate the behavior of other standard listeners. Also: * PipeListenerDialer.Accept will return (nil, unix.EINVAL) if the listener is closed. This roughly matches with behavior described in accept(2). * PipeListenerDialer.Dial will also return (nil, unix.EINVAL) if the address passed does not match the one passed to New. It will also return (nil, unix.ECONNREFUSED) if the listener is closed. This roughly matches the behavior described in connect(2) and unix(7). * The custom errors ErrBadAddress and ErrClosed are removed.
2021-02-14Add README.mdGrégoire Duchêne
2021-02-13Add PipeListenerDialer.DialContextAddrv0.1.0Grégoire Duchêne
Makes it easier to use with grpc.WithContextDialer.
2021-02-13First basic version that worksGrégoire Duchêne