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

api

module
v0.0.0-...-3f92182 Latest Latest
Warning

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

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

Directories

Path Synopsis
cmd
yuva command
internal
analytics
Package analytics collects page views without cookies or stored addresses and keeps them in a Store.
Package analytics collects page views without cookies or stored addresses and keeps them in a Store.
analytics/lists
Package lists holds the third-party lists analytics matches against, as fetched by update.go: crawler user agents, referrer spam domains, and search engines, social networks and AI assistants by host.
Package lists holds the third-party lists analytics matches against, as fetched by update.go: crawler user agents, referrer spam domains, and search engines, social networks and AI assistants by host.
api
apppush
Package apppush sends notifications to iOS apps through APNs (token-based authentication) and to Android apps through Firebase Cloud Messaging (HTTP v1 with a service account).
Package apppush sends notifications to iOS apps through APNs (token-based authentication) and to Android apps through Firebase Cloud Messaging (HTTP v1 with a service account).
awsses
Package awsses calls the few Amazon SES v2 and STS operations Yuva needs to manage SES tenants, signed with minio-go's Signature Version 4 signer.
Package awsses calls the few Amazon SES v2 and STS operations Yuva needs to manage SES tenants, signed with minio-go's Signature Version 4 signer.
cfsaas
Package cfsaas manages Cloudflare for SaaS custom hostnames of one zone through the Cloudflare API (https://developers.cloudflare.com/api/resources/custom_hostnames/).
Package cfsaas manages Cloudflare for SaaS custom hostnames of one zone through the Cloudflare API (https://developers.cloudflare.com/api/resources/custom_hostnames/).
cfsaas/cfsaastest
Package cfsaastest is a fake of the Cloudflare custom hostnames API for tests, answering in the documented shapes (https://developers.cloudflare.com/api/resources/custom_hostnames/).
Package cfsaastest is a fake of the Cloudflare custom hostnames API for tests, answering in the documented shapes (https://developers.cloudflare.com/api/resources/custom_hostnames/).
csvimport
Package csvimport reads subscriber files as spreadsheets export them: it finds the text encoding and the column separator and splits the rows per RFC 4180.
Package csvimport reads subscriber files as spreadsheets export them: it finds the text encoding and the column separator and splits the rows per RFC 4180.
email/reply
Package reply finds the new text of an e-mail reply: it drops the quoted history that mail clients append or prepend and the signature below the delimiter or a "sent from" line.
Package reply finds the new text of an e-mail reply: it drops the quoted history that mail clients append or prepend and the signature below the delimiter or a "sent from" line.
gallery
Package gallery serves the starter e-mail designs of templates/email (MIT), copied into data by go generate.
Package gallery serves the starter e-mail designs of templates/email (MIT), copied into data by go generate.
gallery/copy command
Command copy mirrors templates/email into the gallery's embedded data: go:embed cannot reach outside the api module.
Command copy mirrors templates/email into the gallery's embedded data: go:embed cannot reach outside the api module.
issues
Package issues talks to GitHub (REST, with a fine-grained personal access token) and Linear (GraphQL, with a personal API key): it checks a token, reads, finds and creates issues, maps an issue's state to a feedback progress and checks the signatures of their webhooks.
Package issues talks to GitHub (REST, with a fine-grained personal access token) and Linear (GraphQL, with a personal API key): it checks a token, reads, finds and creates issues, maps an issue's state to a feedback progress and checks the signatures of their webhooks.
mail/design
Package design reads, checks and renders e-mail design documents (EmailDesignDocument in the contract) to table HTML with inline styles and a plain-text part.
Package design reads, checks and renders e-mail design documents (EmailDesignDocument in the contract) to table HTML with inline styles and a plain-text part.
mail/images
Package images turns an uploaded picture into what e-mail designs serve: a PNG, JPEG or GIF without metadata, at most 1,200 pixels wide.
Package images turns an uploaded picture into what e-mail designs serve: a PNG, JPEG or GIF without metadata, at most 1,200 pixels wide.
mail/style
Package style holds what the server's own mails (mail's layout.html) and e-mail designs (mail/design) draw alike: colour contrast, font stacks, the button and the Outlook wrappers.
Package style holds what the server's own mails (mail's layout.html) and e-mail designs (mail/design) draw alike: colour contrast, font stacks, the button and the Outlook wrappers.
migrate
Package migrate holds what moving a mailbox into Yuva needs before any mail is read: the provider presets, detection from an address, the address checks for the connection, and the connection test.
Package migrate holds what moving a mailbox into Yuva needs before any mail is read: the provider presets, detection from an address, the address checks for the connection, and the connection test.
migrate/fileread
Package fileread reads the export files a team uploads to move its mail to Yuva: a Google Takeout mbox, any mbox, and zips of .eml files, of a Maildir or of mbox files.
Package fileread reads the export files a team uploads to move its mail to Yuva: a Google Takeout mbox, any mbox, and zips of .eml files, of a Maildir or of mbox files.
migrate/helpdesk
Package helpdesk reads the help desks of its registry (Desks) over their APIs, only ever with GET: every data request goes through a transport that refuses any other method, and the one POST Yuva sends, the OAuth token exchange, goes through a client that reaches the token endpoint and nothing else.
Package helpdesk reads the help desks of its registry (Desks) over their APIs, only ever with GET: every data request goes through a transport that refuses any other method, and the one POST Yuva sends, the OAuth token exchange, goes through a client that reaches the token endpoint and nothing else.
migrate/helpdesk/helpdesktest
Package helpdesktest serves recorded Zendesk, Help Scout, Chatwoot and Front answers from a local TLS server for tests: every request is recorded, the API refuses a missing or stale token, and the rate-limit headers are the ones the providers document.
Package helpdesktest serves recorded Zendesk, Help Scout, Chatwoot and Front answers from a local TLS server for tests: every request is recorded, the API refuses a missing or stale token, and the rate-limit headers are the ones the providers document.
migrate/imapread
Package imapread reads a source mailbox over IMAP and can do nothing else.
Package imapread reads a source mailbox over IMAP and can do nothing else.
migrate/microsoft
Package microsoft signs a mailbox in with the Microsoft identity platform only to obtain a token for IMAP: the authorization-code flow with PKCE asks for IMAP.AccessAsUser.All and offline_access and nothing else, and the one client that sends anything to Microsoft may only POST to the tenant's token endpoint.
Package microsoft signs a mailbox in with the Microsoft identity platform only to obtain a token for IMAP: the authorization-code flow with PKCE asks for IMAP.AccessAsUser.All and offline_access and nothing else, and the one client that sends anything to Microsoft may only POST to the tenant's token endpoint.
migrate/microsoft/microsofttest
Package microsofttest imitates the Microsoft identity platform for tests: the authorize and token endpoints of login.microsoftonline.com over TLS (codes bound to PKCE, refresh tokens, the errors Microsoft answers), and a token introspection endpoint over plain HTTP that an IMAP server such as Dovecot asks whether a token is valid and whose it is.
Package microsofttest imitates the Microsoft identity platform for tests: the authorize and token endpoints of login.microsoftonline.com over TLS (codes bound to PKCE, refresh tokens, the errors Microsoft answers), and a token introspection endpoint over plain HTTP that an IMAP server such as Dovecot asks whether a token is valid and whose it is.
oas
Package oas provides primitives to interact with the openapi HTTP API.
Package oas provides primitives to interact with the openapi HTTP API.
push
Package push sends Web Push messages (RFC 8030) encrypted per RFC 8291 and signed with VAPID (RFC 8292).
Package push sends Web Push messages (RFC 8030) encrypted per RFC 8291 and signed with VAPID (RFC 8292).
slack
Package slack talks to Slack's Web API at slack.com and checks the signatures of its event requests.
Package slack talks to Slack's Web API at slack.com and checks the signatures of its event requests.
telemetry
Package telemetry exports OpenTelemetry traces over OTLP.
Package telemetry exports OpenTelemetry traces over OTLP.
ui
webhook
Package webhook signs and sends webhooks per the Standard Webhooks specification (https://www.standardwebhooks.com) and refuses to send them into private networks.
Package webhook signs and sends webhooks per the Standard Webhooks specification (https://www.standardwebhooks.com) and refuses to send them into private networks.

Jump to

Keyboard shortcuts

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