github.com/volts-dev/volts@v0.0.0-20240120094013-5e9c65924106/transport/tcp_client.go (about)

     1  package transport
     2  
     3  import (
     4  	"net"
     5  )
     6  
     7  type tcpTransportClient struct {
     8  	tcpTransportSocket
     9  	transport *tcpTransport
    10  	config    DialConfig
    11  	conn      net.Conn
    12  }
    13  
    14  func (t *tcpTransportClient) Transport() ITransport {
    15  	return t.transport
    16  }