mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-10 05:18:41 +00:00
API: Add ListInbounds and ListOutbounds (#4723)
This commit is contained in:
parent
d44c78b819
commit
af7a76da67
19 changed files with 791 additions and 140 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue