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
MCP MCPServer
DataDir string
BodyDecoder BodyDecoderRegistry
InitialFilter string // pre-populate filter input (e.g. host from -browse)
}
AppConfig holds all dependencies for the TUI application.
type BodyDecoderRegistry ¶ added in v0.1.11
type BodyDecoderRegistry interface {
Decode(body []byte, contentType string, meta bodydecoder.DecoderMetadata) (decoded string, resultContentType string, err error)
}
BodyDecoderRegistry decodes wire-format bodies (e.g. protobuf) into human-readable text for display in the detail view.
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.