Documentation
¶
Index ¶
- type TcpClient
- type TcpConnection
- func (conn *TcpConnection) Close() error
- func (conn *TcpConnection) Read(data []byte) (int, error)
- func (conn *TcpConnection) ReadCRLine() (string, error)
- func (conn *TcpConnection) ReadLine() (string, error)
- func (conn *TcpConnection) Write(data []byte) error
- func (conn *TcpConnection) WriteStringCRLine(str string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpConnection ¶
type TcpConnection struct {
// contains filtered or unexported fields
}
func NewTcpConnection ¶
func NewTcpConnection(rawConn *tls.Conn, enableReadCRLF bool) *TcpConnection
func (*TcpConnection) Close ¶
func (conn *TcpConnection) Close() error
func (*TcpConnection) ReadCRLine ¶
func (conn *TcpConnection) ReadCRLine() (string, error)
func (*TcpConnection) ReadLine ¶
func (conn *TcpConnection) ReadLine() (string, error)
func (*TcpConnection) Write ¶
func (conn *TcpConnection) Write(data []byte) error
func (*TcpConnection) WriteStringCRLine ¶
func (conn *TcpConnection) WriteStringCRLine(str string) (int, error)
Click to show internal directories.
Click to hide internal directories.