Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGitHubFlow ¶
IsGitHubFlow reports whether the given source type should use the GitHub device code flow (as opposed to the Microsoft flow).
func LogAPIKeyWarning ¶
func LogAPIKeyWarning()
logAPIKeyWarning logs a startup warning when no API key is configured. Call once from main after creating the server.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the REST API server for the Web UI.
func NewServer ¶
NewServer creates a new API server wired to the given store, crawler, and MCP handler. Pass nil for mcpHandler and/or crawler when not needed (e.g. in tests). key must be exactly 32 bytes and is used for AES-256-GCM token encryption.