Documentation
¶
Overview ¶
Package web serves an indexed local file workspace and document views.
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
}
App composes discovery and document handlers into the HTTP API.
type Config ¶
type Config struct {
Roots []string
ScanDepth int
Depth int
Exclusions []string
// Types decides presentation; Filenames decides which files are in scope.
Types *document.Registry
Filenames files.NameFilter
// LanguageServers runs language servers for requests that opt in; nil
// uses the built-in servers for Types' text families. The App
// closes it.
LanguageServers *lsp.Manager
}
Config controls project discovery and the live file scan performed for each request. Roots confine every project; ScanDepth bounds repository discovery; Depth bounds the file scan within a project.
Click to show internal directories.
Click to hide internal directories.