Documentation ¶ Index ¶ type TRPClient func NewRPClient(svraddr string, tcpNum int, vKey string) *TRPClient func (s *TRPClient) ConnectAndCopy(c *utils.Conn, typeStr, host string, en, de int, crypt, mux bool) func (s *TRPClient) NewConn() error func (s *TRPClient) Start() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TRPClient ¶ type TRPClient struct { sync.Mutex // contains filtered or unexported fields } func NewRPClient ¶ func NewRPClient(svraddr string, tcpNum int, vKey string) *TRPClient new client func (*TRPClient) ConnectAndCopy ¶ added in v0.0.10 func (s *TRPClient) ConnectAndCopy(c *utils.Conn, typeStr, host string, en, de int, crypt, mux bool) func (*TRPClient) NewConn ¶ func (s *TRPClient) NewConn() error 新建 func (*TRPClient) Start ¶ func (s *TRPClient) Start() error start Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.