Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
cmd
|
|
|
admin-cli
command
|
|
|
biometric-service
command
|
|
|
classifier
command
|
|
|
data-processor
command
|
|
|
device-aggregator
command
|
|
|
gan-service
command
|
|
|
gateway
command
|
|
|
gateway/ports
Package ports defines the authentication port for the gateway service.
|
Package ports defines the authentication port for the gateway service. |
|
hash-password
command
Command hash-password prints the Argon2id PHC string for a password read from stdin.
|
Command hash-password prints the Argon2id PHC string for a password read from stdin. |
|
training-service
command
|
|
|
user-service
command
|
|
|
user-service/ports
Package ports defines the authentication port for the user service.
|
Package ports defines the authentication port for the user service. |
|
internal
|
|
|
apperrors
Package apperrors provides structured application errors.
|
Package apperrors provides structured application errors. |
|
audit
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. |
|
auth/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. |
|
auth/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. |
|
cache
Package cache provides a type-safe, observable caching abstraction over Valkey.
|
Package cache provides a type-safe, observable caching abstraction over Valkey. |
|
chat
Package chat provides rule-based FAQ and chat functionality.
|
Package chat provides rule-based FAQ and chat functionality. |
|
config
Package config provides configuration utilities and typed config structs.
|
Package config provides configuration utilities and typed config structs. |
|
crypto
Package crypto provides AES-GCM encryption helpers.
|
Package crypto provides AES-GCM encryption helpers. |
|
db
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. |
|
domain/port
Package port defines repository and service interfaces.
|
Package port defines repository and service interfaces. |
|
domain/service
Package service defines application service interfaces.
|
Package service defines application service interfaces. |
|
grpc
Package grpc provides gRPC server utilities with optional mutual TLS.
|
Package grpc provides gRPC server utilities with optional mutual TLS. |
|
logger
Package logger provides structured logging utilities.
|
Package logger provides structured logging utilities. |
|
metrics
Package metrics provides Prometheus metrics collection and RPC instrumentation.
|
Package metrics provides Prometheus metrics collection and RPC instrumentation. |
|
middleware
Package middleware provides HTTP middleware for authentication, logging, and security.
|
Package middleware provides HTTP middleware for authentication, logging, and security. |
|
planner
Package planner generates training plans from templates.
|
Package planner generates training plans from templates. |
|
profanity
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). |
|
queue
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. |
|
repository/postgres
Package postgres provides PostgreSQL repository implementations.
|
Package postgres provides PostgreSQL repository implementations. |
|
repository/shared
Package shared contains reusable biometric queries.
|
Package shared contains reusable biometric queries. |
|
resilience
Package resilience provides circuit breaker and retry utilities for external service calls.
|
Package resilience provides circuit breaker and retry utilities for external service calls. |
|
sanitize
Package sanitize provides input sanitization utilities for security.
|
Package sanitize provides input sanitization utilities for security. |
|
server
Package server provides HTTP server lifecycle management.
|
Package server provides HTTP server lifecycle management. |
|
telemetry
Package telemetry provides OpenTelemetry tracing for gRPC and HTTP services.
|
Package telemetry provides OpenTelemetry tracing for gRPC and HTTP services. |
|
templates
Package templates provides training templates for plan generation.
|
Package templates provides training templates for plan generation. |
|
testcontainers
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. |
|
totp
Package totp provides TOTP secret generation, validation, and backup-code helpers.
|
Package totp provides TOTP secret generation, validation, and backup-code helpers. |
|
validator
Package validator provides input validation utilities for API requests.
|
Package validator provides input validation utilities for API requests. |
|
webhook
Package webhook provides Open Wearables webhook handling.
|
Package webhook provides Open Wearables webhook handling. |
Click to show internal directories.
Click to hide internal directories.