Protocol Basics.

This commit is contained in:
Amin.MasterkinG
2026-04-20 17:53:50 +03:30
parent 4ddbc15737
commit e4e29201c2
6 changed files with 443 additions and 46 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ type Client struct {
cfg config.Config
log *logger.Logger
clientSessionKey string
streams *StreamStore
socksConnections *SOCKSConnectionStore
connMu sync.Mutex
conns map[net.Conn]struct{}
@@ -36,7 +36,7 @@ func New(cfg config.Config, lg *logger.Logger) *Client {
cfg: cfg,
log: lg,
clientSessionKey: clientSessionKey,
streams: NewStreamStore(),
socksConnections: NewSOCKSConnectionStore(),
conns: make(map[net.Conn]struct{}),
}
}