Help us shape the future of Go! Take the 2026 Go Developer Survey

api/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package auth holds the security handlers of the API surfaces (session cookie, API token, collect key), the session issuer and the cookies the sign-in flows set.
Package auth holds the security handlers of the API surfaces (session cookie, API token, collect key), the session issuer and the cookies the sign-in flows set.
Package collect implements the /collect surface: tracking ingestion from customer sites, authenticated by the collect key.
Package collect implements the /collect surface: tracking ingestion from customer sites, authenticated by the collect key.
Package external implements the /api surface: the public API, authenticated by a Workspace's bearer API token.
Package external implements the /api surface: the public API, authenticated by a Workspace's bearer API token.
resources
Package resources holds goverter-generated mappers from ent entities to external API resources, plus the custom conversions goverter cannot infer.
Package resources holds goverter-generated mappers from ent entities to external API resources, plus the custom conversions goverter cannot infer.
Package site implements the /site surface: the API of the frontend SPA, authenticated by the session cookie.
Package site implements the /site surface: the API of the frontend SPA, authenticated by the session cookie.
resources
Package resources holds goverter-generated mappers from ent entities to site API resources (the ogen *Resource DTOs), plus the custom conversions goverter cannot infer on its own.
Package resources holds goverter-generated mappers from ent entities to site API resources (the ogen *Resource DTOs), plus the custom conversions goverter cannot infer on its own.

Jump to

Keyboard shortcuts

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