anttool

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package anttool exposes ant's URI front door as tomo tools. ant mounts every tamnd/*-cli domain behind one resource-URI space, so a single get(uri) reaches the whole fleet: reddit://user/foo, goodreads://book/123, x://status/456. The caller builds a kit.Host from whichever domain drivers it compiled in (each registers itself from init, like a database/sql driver) and hands it here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tools

func Tools(host *kit.Host, limit int) []tool.Tool

Tools returns the ant front-door tools over host: get to dereference a URI, ls to list a collection, and search to find records by text within a domain. limit caps how many records ls and search return, 0 for the domain's own default. With no domains mounted the tools still register but report that nothing is reachable, which is a clearer failure than a missing tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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