external

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 4 Imported by: 0

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

func All() []tool.Module

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

func Register(r tool.Router)

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.

Jump to

Keyboard shortcuts

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