2aa0c3be86
Initialise le module Go github.com/user/nanometrics/server avec toutes les dépendances (SQLite, gorilla/websocket, paho.mqtt, prometheus, imaging). Ajoute config.go (Load/Default via env vars) et models.go (AgentMetrics, SmartMetrics, Agent, AgentConfig, ServerConfig, WSMessage). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
183 B
Go
13 lines
183 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/user/nanometrics/server/config"
|
|
)
|
|
|
|
func main() {
|
|
cfg := config.Load()
|
|
log.Printf("nanometrics-server démarrage sur %s", cfg.HTTPAddr)
|
|
}
|