Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 1.98 KB

File metadata and controls

68 lines (54 loc) · 1.98 KB

Pastebox Engine - Project Documentation

📚 Documentation Files

🏗️ Project Structure

pastebox/
├── cmd/                    # Entry points
│   ├── router/            # Routing daemon
│   └── instance/          # Pastebox instance
├── internal/              # Private packages
│   ├── daemon/            # Process management & load balancing
│   ├── encryption/        # AES-256-GCM & Redis queue
│   ├── instance/          # File manager
│   ├── storage/           # MongoDB & filesystem
│   └── gateway/           # SSH/SFTP server
├── pkg/                   # Public packages
│   ├── models/            # Data models
│   ├── config/            # Configuration
│   └── logger/            # Structured logging
├── scripts/               # Build and test scripts
├── deployments/           # Deployment configs
└── bin/                   # Compiled binaries

🚀 Quick Start

# Build
make build

# Run routing daemon
./bin/router --config config.yaml

# Run tests
./scripts/test.sh

📊 Project Stats

  • Language: Go
  • Total Files: 13 Go files
  • Total Lines: ~1,924 lines
  • Binary Size:
    • Router: ~29 MB
    • Instance: ~24 MB

🎯 Key Features

✅ Daemon-based architecture
✅ Multi-strategy load balancing
✅ AES-256-GCM encryption
✅ Redis-based job queue
✅ MongoDB per instance
✅ SSH/SFTP gateway
✅ Health monitoring
✅ Audit logging

📖 Next Steps

  1. Review implementation_plan.md for architecture details
  2. Check CODE_REVIEW.md for code quality analysis
  3. Follow README.md for setup instructions