mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
upgrade go-jose and crypto version (#3895)
This commit is contained in:
parent
cdfa8fa66f
commit
596262d5e0
4 changed files with 13 additions and 13 deletions
|
|
@ -35,7 +35,7 @@ import (
|
|||
"github.com/fatedier/frp/pkg/util/xlog"
|
||||
)
|
||||
|
||||
// Connector is a interface for establishing connections to the server.
|
||||
// Connector is an interface for establishing connections to the server.
|
||||
type Connector interface {
|
||||
Open() error
|
||||
Connect() (net.Conn, error)
|
||||
|
|
@ -59,7 +59,7 @@ func NewConnector(ctx context.Context, cfg *v1.ClientCommonConfig) Connector {
|
|||
}
|
||||
}
|
||||
|
||||
// Open opens a underlying connection to the server.
|
||||
// Open opens an underlying connection to the server.
|
||||
// The underlying connection is either a TCP connection or a QUIC connection.
|
||||
// After the underlying connection is established, you can call Connect() to get a stream.
|
||||
// If TCPMux isn't enabled, the underlying connection is nil, you will get a new real TCP connection every time you call Connect().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue