Return additional ProxySettings, SenderSettings and ReceiverSettings strucutres.

This commit is contained in:
Sergey Gorbunov 2025-05-14 14:29:15 +03:00
parent 229a4b3fe1
commit 1f014eb655
No known key found for this signature in database
GPG key ID: A8C3D74066B8E768
9 changed files with 102 additions and 9 deletions

View file

@ -10,6 +10,7 @@ import (
"github.com/xtls/xray-core/common/errors"
"github.com/xtls/xray-core/common/mux"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/serial"
"github.com/xtls/xray-core/common/session"
"github.com/xtls/xray-core/common/task"
"github.com/xtls/xray-core/features/outbound"
@ -111,6 +112,16 @@ func (o *Outbound) Close() error {
return nil
}
// SenderSettings implements outbound.Handler.
func (o *Outbound) SenderSettings() *serial.TypedMessage {
return nil
}
// ProxySettings implements outbound.Handler.
func (o *Outbound) ProxySettings() *serial.TypedMessage {
return nil
}
type StaticMuxPicker struct {
access sync.Mutex
workers []*PortalWorker