Meteor Compute Service
A Go-based compute service for the distributed meteor monitoring network.
Project Structure
meteor-compute-service/
├── cmd/
│ └── meteor-compute-service/ # Application entry point
│ └── main.go
├── internal/
│ ├── config/ # Configuration management
│ │ └── config.go
│ └── health/ # Health check functionality
│ ├── handler.go
│ └── server.go
├── go.mod
└── README.md
Running the Service
go run cmd/meteor-compute-service/main.go
Health Check
The service exposes a health check endpoint at /health that returns:
{
"status": "ok"
}
Environment Variables
PORT: Server port (default: 8080)
Building
go build -o bin/meteor-compute-service cmd/meteor-compute-service/main.go