Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/SagerNet/sing-tun
/ Stack
Interface
Stack
stack.go:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
)
20
21
type
Stack
interface
{
22
Start() error
23
Close() error
24
}
25
26
type
StackOptions
struct
{
27
Context context.Context
Callers
nothing calls this directly
Implementers
10
System
stack_system.go
autoRedirect
redirect_linux.go
NativeTun
tun_linux.go
packageManager
packages_android.go
Mixed
stack_mixed.go
redirectServer
redirect_server.go
networkUpdateMonitor
monitor_darwin.go
defaultInterfaceMonitor
monitor_shared.go
GVisor
stack_gvisor.go
nfqueueHandler
nfqueue_linux.go
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…