Directories
¶
| Path | Synopsis |
|---|---|
|
Package apperrors provides structured application errors.
|
Package apperrors provides structured application errors. |
|
Package audit provides structured audit logging for 152-ФЗ compliance.
|
Package audit provides structured audit logging for 152-ФЗ compliance. |
|
auth
|
|
|
claims
Package claims provides domain types for JWT authentication.
|
Package claims provides domain types for JWT authentication. |
|
jwt
Package jwt provides infrastructure utilities for JWT token generation, parsing, JWKS conversion, and a shared JWTAdapter implementation.
|
Package jwt provides infrastructure utilities for JWT token generation, parsing, JWKS conversion, and a shared JWTAdapter implementation. |
|
password
Package password implements the Argon2id password hashing format used by the user service: a PHC string with m=65536, t=3, p=1, a 16-byte salt and a 32-byte hash, both encoded with unpadded standard base64.
|
Package password implements the Argon2id password hashing format used by the user service: a PHC string with m=65536, t=3, p=1, a 16-byte salt and a 32-byte hash, both encoded with unpadded standard base64. |
|
Package cache provides a type-safe, observable caching abstraction over Valkey.
|
Package cache provides a type-safe, observable caching abstraction over Valkey. |
|
Package chat provides rule-based FAQ and chat functionality.
|
Package chat provides rule-based FAQ and chat functionality. |
|
Package config provides configuration utilities and typed config structs.
|
Package config provides configuration utilities and typed config structs. |
|
Package crypto provides AES-GCM encryption helpers.
|
Package crypto provides AES-GCM encryption helpers. |
|
Package db provides database connection utilities.
|
Package db provides database connection utilities. |
|
domain
|
|
|
entity
Package entity defines core domain entities.
|
Package entity defines core domain entities. |
|
port
Package port defines repository and service interfaces.
|
Package port defines repository and service interfaces. |
|
service
Package service defines application service interfaces.
|
Package service defines application service interfaces. |
|
Package grpc provides gRPC server utilities with optional mutual TLS.
|
Package grpc provides gRPC server utilities with optional mutual TLS. |
|
Package logger provides structured logging utilities.
|
Package logger provides structured logging utilities. |
|
Package metrics provides Prometheus metrics collection and RPC instrumentation.
|
Package metrics provides Prometheus metrics collection and RPC instrumentation. |
|
Package middleware provides HTTP middleware for authentication, logging, and security.
|
Package middleware provides HTTP middleware for authentication, logging, and security. |
|
Package planner generates training plans from templates.
|
Package planner generates training plans from templates. |
|
Package profanity provides a basic RU/EN profanity check for user-supplied names (nickname, full_name).
|
Package profanity provides a basic RU/EN profanity check for user-supplied names (nickname, full_name). |
|
Package queue provides message queue interfaces and implementations.
|
Package queue provides message queue interfaces and implementations. |
|
repository
|
|
|
pgx
Package pgx provides PostgreSQL repository implementations using pgx.
|
Package pgx provides PostgreSQL repository implementations using pgx. |
|
postgres
Package postgres provides PostgreSQL repository implementations.
|
Package postgres provides PostgreSQL repository implementations. |
|
shared
Package shared contains reusable biometric queries.
|
Package shared contains reusable biometric queries. |
|
Package resilience provides circuit breaker and retry utilities for external service calls.
|
Package resilience provides circuit breaker and retry utilities for external service calls. |
|
Package sanitize provides input sanitization utilities for security.
|
Package sanitize provides input sanitization utilities for security. |
|
Package server provides HTTP server lifecycle management.
|
Package server provides HTTP server lifecycle management. |
|
Package telemetry provides OpenTelemetry tracing for gRPC and HTTP services.
|
Package telemetry provides OpenTelemetry tracing for gRPC and HTTP services. |
|
Package templates provides training templates for plan generation.
|
Package templates provides training templates for plan generation. |
|
Package testcontainers provides helpers for spinning up ephemeral infrastructure containers in integration and smoke tests.
|
Package testcontainers provides helpers for spinning up ephemeral infrastructure containers in integration and smoke tests. |
|
Package totp provides TOTP secret generation, validation, and backup-code helpers.
|
Package totp provides TOTP secret generation, validation, and backup-code helpers. |
|
Package validator provides input validation utilities for API requests.
|
Package validator provides input validation utilities for API requests. |
|
Package webhook provides Open Wearables webhook handling.
|
Package webhook provides Open Wearables webhook handling. |
Click to show internal directories.
Click to hide internal directories.