Documentation
¶
Overview ¶
Package external wraps third-party links as tool.Module entries so they show up on the home grid and palette alongside in-app tools. Each link is metadata + a redirect handler — no view, no service, no JS. Add a new link by appending to the list in registry.go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All returns the external-link modules. Every entry becomes a card on the home grid — Key must be unique across all modules (wick mounts it at /tools/{Key}). Tag groupings live in internal/tags/defaults.go.
func Register ¶
Register installs a redirect at /tools/{meta.Key} so direct hits (shared links, bookmarks, the Ctrl+K palette pre-fetch) still land at the external URL. Visibility/tag enforcement is applied upstream by the /tools/* RequireToolAccess middleware.
The same Register backs every external link; the redirect target is read per-request from c.Meta().ExternalURL.
Types ¶
This section is empty.