Versions in this module Expand all Collapse all v0 v0.1.0 Mar 22, 2026 Changes in this version + type Client struct + func New(dbPath string, opts ...Option) (*Client, error) + func (c *Client) Close() error + func (c *Client) ListEntities(ctx context.Context, libraryID string) ([]EntityInfo, error) + func (c *Client) ListLibraries(ctx context.Context) ([]Library, error) + func (c *Client) QueryDocs(ctx context.Context, libraryID, query string, opts ...QueryOption) (*DocResult, error) + func (c *Client) ResolveLibrary(ctx context.Context, query, libraryName string) ([]Library, error) + func (c *Client) Store() store.Store + type DocResult struct + Library string + Query string + Snippets []DocSnippet + Text string + type DocSnippet struct + Description string + EntityName string + MethodName string + Parameters []Parameter + Relations []Relation + Relevance float64 + ReturnDesc string + ReturnType string + Signature string + SourceCode string + URL string + WrappedMethod string + WrappedSource string + type EntityInfo struct + Description string + Kind string + MethodCount int + Name string + Slug string + URL string + type Library struct + CrawledAt time.Time + Description string + ID string + Name string + SnippetCount int + SourceURL string + TrustScore float64 + Version string + type Option func(*Client) + func WithTokenBudget(budget int) Option + type Parameter struct + Description string + Name string + Required bool + Type string + type QueryOption func(*queryConfig) + func WithSearchMode(mode string) QueryOption + type Relation struct + Description string + Kind string + TargetName string + TargetURL string