2022-06-30 21:27:56 +08:00
|
|
|
package adapter
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
N "github.com/sagernet/sing/common/network"
|
|
|
|
|
)
|
|
|
|
|
|
2022-07-30 00:29:22 +08:00
|
|
|
// Note: for proxy protocols, outbound creates early connections by default.
|
|
|
|
|
|
2022-06-30 21:27:56 +08:00
|
|
|
type Outbound interface {
|
|
|
|
|
Type() string
|
|
|
|
|
Tag() string
|
2022-07-03 23:23:18 +08:00
|
|
|
Network() []string
|
2023-06-13 22:38:05 +08:00
|
|
|
Dependencies() []string
|
2022-07-03 13:14:49 +08:00
|
|
|
N.Dialer
|
2022-06-30 21:27:56 +08:00
|
|
|
}
|