Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
doopl
command
Package main provides the doopl CLI.
|
Package main provides the doopl CLI. |
|
doopl-mcp
command
Command doopl-mcp is an MCP (Model Context Protocol) server that exposes doopl's DeepL translation capabilities to Claude, Claude Desktop, and other MCP-compatible AI clients.
|
Command doopl-mcp is an MCP (Model Context Protocol) server that exposes doopl's DeepL translation capabilities to Claude, Claude Desktop, and other MCP-compatible AI clients. |
|
doopl/internal/convert
Package convert holds the goverter converter interface for turning public model types into cmd/doopl's CLI-only entity types.
|
Package convert holds the goverter converter interface for turning public model types into cmd/doopl's CLI-only entity types. |
|
doopl/internal/entity
Package entity holds presentation-layer types used only by cmd/doopl — shaped for terminal/JSON output, not for library consumption.
|
Package entity holds presentation-layer types used only by cmd/doopl — shaped for terminal/JSON output, not for library consumption. |
|
doopl/internal/output
Package output provides formatting for CLI output in text, TUI, and JSON modes.
|
Package output provides formatting for CLI output in text, TUI, and JSON modes. |
|
examples
|
|
|
library-usage/batch-translate
command
Batch translate: translate multiple texts in a single request.
|
Batch translate: translate multiple texts in a single request. |
|
library-usage/simple-translate
command
Simple example: translate a single text using doopl library.
|
Simple example: translate a single text using doopl library. |
|
library-usage/with-options
command
With options: translate with formality, source language, and other parameters.
|
With options: translate with formality, source language, and other parameters. |
|
internal
|
|
|
config
Package config handles persistent configuration for doopl CLI stored at ~/.doopl/config.toml.
|
Package config handles persistent configuration for doopl CLI stored at ~/.doopl/config.toml. |
|
convert
Package convert holds goverter converter interface definitions.
|
Package convert holds goverter converter interface definitions. |
|
interfaces
Package interfaces defines mockable interfaces for the doopl client.
|
Package interfaces defines mockable interfaces for the doopl client. |
|
transport
Package transport implements the low-level HTTP plumbing shared by every DeepL API call: auth header injection, retry with exponential backoff + jitter (honoring Retry-After), and User-Agent construction.
|
Package transport implements the low-level HTTP plumbing shared by every DeepL API call: auth header injection, retry with exponential backoff + jitter (honoring Retry-After), and User-Agent construction. |
|
pkg
|
|
|
deepl
Package deepl is an idiomatic Go client for the DeepL API (https://developers.deepl.com).
|
Package deepl is an idiomatic Go client for the DeepL API (https://developers.deepl.com). |
|
model
Package model holds the public, Go-idiomatic domain types returned by the deepl.Client — as opposed to internal/apimodel, which mirrors the raw DeepL JSON wire format.
|
Package model holds the public, Go-idiomatic domain types returned by the deepl.Client — as opposed to internal/apimodel, which mirrors the raw DeepL JSON wire format. |
|
v3
|
|
|
apimodel
Package apimodel contains wire-format types that mirror DeepL's JSON API responses and request bodies exactly (snake_case json tags, raw string enums, etc.).
|
Package apimodel contains wire-format types that mirror DeepL's JSON API responses and request bodies exactly (snake_case json tags, raw string enums, etc.). |
Click to show internal directories.
Click to hide internal directories.