Files
stackwatch/internal/fleet/ids.go
T
claude BotandClaude Sonnet 5.5 56e1bbe842 Stackwatch : suivi des mises à jour de stacks docker compose via SSH
Base Up And Down (auth, thème, dialogues) + moteur fleet (script distant POSIX,
analyse pull + comparaison d'images, mise à jour d'une stack), interface de suivi.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:37:40 +01:00

13 lines
155 B
Go

package fleet
import (
"crypto/rand"
"encoding/hex"
)
func newID() string {
b := make([]byte, 6)
_, _ = rand.Read(b)
return hex.EncodeToString(b)
}