Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
type AppConfig ¶ added in v0.1.5
type AppConfig struct {
Store FlowReader
Proxy ProxyInfo
CATrusted bool
Scripts ScriptManager
Throttle ThrottleController
Breakpoints breakpoint.Controller
}
AppConfig holds all dependencies for the TUI application.
type FlowReader ¶
type FlowReader interface {
List(filter store.Filter, offset, limit int) ([]store.FlowMeta, int)
Get(id store.FlowID) (*store.FlowMeta, *store.FlowData, error)
}
FlowReader is the read-only port the TUI uses to access captured flows.
type ProxyInfo ¶
type ProxyInfo interface {
Addr() string
}
ProxyInfo exposes proxy status to the TUI (listen address, etc.).
type ScriptManager ¶ added in v0.1.5
type ScriptManager interface {
Scripts() []scripting.ScriptInfo
Toggle(filePath string) error
Delete(filePath string) error
CreateNew() (string, error)
QuickAddMapLocal(pattern, localPath string) (string, error)
ScriptDir() string
Reload()
}
ScriptManager exposes script operations to the TUI.
Click to show internal directories.
Click to hide internal directories.