Documentation
¶
Overview ¶
Package rest exposes memini's HTTP/JSON API. It is a thin adapter over the service layer; the MCP surface (internal/api/mcp) shares the same service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
// APIKey, when non-empty, is required as "Authorization: Bearer <key>".
APIKey string
// NamespaceHeader names the request header carrying the tenant namespace.
NamespaceHeader string
// DefaultNamespace is used when the header is absent.
DefaultNamespace string
}
AuthConfig configures the optional bearer-token auth and namespace resolution.
Click to show internal directories.
Click to hide internal directories.