outbound.go 264 B

123456789101112131415
  1. package adapter
  2. import (
  3. N "github.com/sagernet/sing/common/network"
  4. )
  5. // Note: for proxy protocols, outbound creates early connections by default.
  6. type Outbound interface {
  7. Type() string
  8. Tag() string
  9. Network() []string
  10. Dependencies() []string
  11. N.Dialer
  12. }