Versions in this module Expand all Collapse all v1 v1.2.1 Dec 3, 2025 Changes in this version + func Recv(conn net.Conn, timeout time.Duration) ([]byte, error) + func Send(conn net.Conn, data []byte, timeout time.Duration) error + func SendRecv(conn net.Conn, data []byte, timeout time.Duration) ([]byte, error) + type CloseDialError struct + func (e *CloseDialError) Error() string + type CreateDialError struct + Message string + func (e *CreateDialError) Error() string + type InvalidAddrProvided struct + Service string + func (e *InvalidAddrProvided) Error() string + type InvalidResponseError struct + Service string + func (e *InvalidResponseError) Error() string + type InvalidResponseErrorInfo struct + Info string + Service string + func (e *InvalidResponseErrorInfo) Error() string + type RandomizeError struct + Message string + func (e *RandomizeError) Error() string + type ReadError struct + Info string + WrappedError error + func (e *ReadError) Error() string + func (e *ReadError) Unwrap() error + type ReadTimeoutError struct + WrappedError error + func (e *ReadTimeoutError) Error() string + func (e *ReadTimeoutError) Unwrap() error + type RequestError struct + Message string + func (e *RequestError) Error() string + type ServerNotEnable struct + func (e *ServerNotEnable) Error() string + type WriteError struct + WrappedError error + func (e *WriteError) Error() string + func (e *WriteError) Unwrap() error + type WriteTimeoutError struct + WrappedError error + func (e *WriteTimeoutError) Error() string + func (e *WriteTimeoutError) Unwrap() error