mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 08:12:25 +00:00
- Changed UUIDLength type from byte to int in core/config/consts.go - Introduced MetaDir constant in core/config/consts.go - Added corestate package with initial state management and UUID handling - Implemented GetNodeUUID and SetNodeUUID functions for UUID file management - Created RunManager and RunFileManager for runtime directory management - Updated GeneralServer to use new configuration structure - Removed deprecated init package and replaced with main entry point - Added color utility functions for logging - Enhanced UUID generation functions in utils package - Updated update logic to handle new configuration structure - Added routines for cleaning temporary runtime directories - Introduced response formatting for API responses
21 lines
328 B
YAML
21 lines
328 B
YAML
mode: "prod"
|
|
|
|
http_server:
|
|
address: "0.0.0.0:8080"
|
|
api:
|
|
latest-version: v1
|
|
layers:
|
|
- b1
|
|
- s2
|
|
|
|
tls:
|
|
enabled: false
|
|
cert_file: "./cert/fullchain.pem"
|
|
key_file: "./cert/privkey.pem"
|
|
|
|
com_dir: "com/"
|
|
|
|
updates:
|
|
enabled: false
|
|
check-interval: 1h
|
|
repository_url: "https://repo.serve.lv/raw/go-sally" |