search

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package search is the catalog search use-case layer: it builds the request anfra-node needs to search the local catalog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

Run asks anfra-node to search the repo's catalog. Go owns orchestration (sidecars, which repo, canal endpoint); anfra-node owns search execution.

Types

type Request added in v0.13.5

type Request struct {
	Query  string
	Limit  int
	Offset int
}

Request is a search: the query, and the page of what it matches. A zero Limit leaves the page size to anfra-node.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL