Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildServer ¶
BuildServer builds a *frontend.Server using the given configuration.
Types ¶
type ServerConfig ¶
type ServerConfig struct {
Paths []string
GOPATHMode bool
UseCache bool
CacheDir string
UseListedMods bool
UseLocalStdlib bool
DevMode bool
DevModeStaticDir string
GoRepoPath string
GoDocMode bool
RecordCodeWikiMetrics frontend.RecordClickFunc
Proxy *proxy.Client // client, or nil; controlled by the -proxy flag
}
ServerConfig provides configuration for BuildServer.
Click to show internal directories.
Click to hide internal directories.