api

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package api holds the wire-facing constants shared by config/, routes/ and any future client, so none of them need to import each other just to agree on a path or binding name (breaks the config↔routes cycle).

Index

Constants

View Source
const (
	PathHealth       = "/api/health"
	PathToken        = "/api/token"
	PathUsersResolve = "/api/users/resolve"
)
View Source
const BindingD1 = "DB"

BindingD1 es el nombre del binding de D1 declarado en Cloudflare para la base propia de iam — no comparte la de ningún consumidor (ver AGENTS.md Restricción #5).

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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