mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
21 lines
302 B
Go
21 lines
302 B
Go
package adapter
|
|
|
|
import (
|
|
M "github.com/sagernet/sing/common/metadata"
|
|
)
|
|
|
|
type Inbound interface {
|
|
Service
|
|
Type() string
|
|
Tag() string
|
|
}
|
|
|
|
type InboundContext struct {
|
|
Inbound string
|
|
Network string
|
|
Source M.Socksaddr
|
|
Destination M.Socksaddr
|
|
Domain string
|
|
Protocol string
|
|
}
|