mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-28 22:24:14 +00:00
Return additional ProxySettings, SenderSettings and ReceiverSettings strucutres.
This commit is contained in:
parent
229a4b3fe1
commit
1f014eb655
9 changed files with 102 additions and 9 deletions
features/outbound
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
|
||||
"github.com/xtls/xray-core/common"
|
||||
"github.com/xtls/xray-core/common/serial"
|
||||
"github.com/xtls/xray-core/features"
|
||||
"github.com/xtls/xray-core/transport"
|
||||
)
|
||||
|
@ -15,6 +16,8 @@ type Handler interface {
|
|||
common.Runnable
|
||||
Tag() string
|
||||
Dispatch(ctx context.Context, link *transport.Link)
|
||||
SenderSettings() *serial.TypedMessage
|
||||
ProxySettings() *serial.TypedMessage
|
||||
}
|
||||
|
||||
type HandlerSelector interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue