Commit graph

1 commit

Author SHA1 Message Date
Ben Schumacher
378af4cb74
Add comprehensive documentation for server/channels layers (#33449)
Added doc.go files for the three main layers of the Mattermost server architecture:

- api4/doc.go: HTTP REST API layer documentation
  - Explains endpoint structure and authentication handlers
  - Details input validation, permission checks, and error formatting
  - Covers security features and audit logging

- app/doc.go: Business logic layer documentation
  - Describes the core application logic components
  - Explains design patterns like request context and dependency injection
  - Details key responsibilities including data orchestration and event handling

- store/doc.go: Data persistence layer documentation
  - Documents the multi-layered architecture with caching, search, and retry layers
  - Explains the store interface pattern and domain-specific stores
  - Covers performance considerations and migration system

These documentation files provide comprehensive overviews of each layer's
responsibilities, architecture patterns, and integration points, making
the codebase more accessible to developers.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-22 11:53:42 +02:00