How mcfso/irix-node works
IriX Node Daemon is a local Go service that exposes an MCSManager-style HTTP API for the IriX client. The main workflow is client request → daemon HTTP routing and authentication → domain operation → response or streamed result. Its major branches include instance and process management, files and transfers, Docker/Bastille, cluster synchronization, accounts, and the encrypted vault. The graph reflects documented capabilities and sampled relationships; several subsystem internals were not excerpted, so their connections are omitted rather than inferred.
Main entry points: instance.go API routing · container.go Container API · accounts.go Account store · http_server.go HTTP server
Components 24
API and runtime
- HTTP server
http_server.go - Daemon runtime
daemon.go - API routing
instance.go
Instance operations
- Instances
instance.go - Process control
process.go - Console streams
console_ws.go - Instance backups
backup.go
Host and containers
- Container API
container.go - Docker backend
container_docker.go - Bastille backend
container_bastille.go - Java installer
jdk_install.go - FRP integration
frp.go - System information
sysinfo.go
Identity and vault
- Account API
accounts_handlers.go - Account store
accounts.go - Vault API
vault_handlers.go - Vault state
vault.go - Encrypted storage
vault_store.go
Files and cluster
- File operations
files.go - Download services
download.go - Cluster sync
cluster.go
Other components
- IriX client
- SQL database
- Redis cache
Connections 18
- IriX client → HTTP server: calls API
- HTTP server → API routing: routes requests
- API routing → Instances: dispatches
instance.go - API routing → Account API: registers routes
instance.go - API routing → Container API: registers routes
instance.go - API routing → Cluster sync: registers routes
instance.go - Instances → Process control: starts process
instance.go - API routing → Console streams: registers routes
instance.go - API routing → Instance backups: registers routes
instance.go - Account API → Account store: authenticates
accounts_handlers.go - Account store → SQL database: persists data
accounts.go - Account store → Redis cache: caches sessions
accounts.go - Vault API → Vault state: updates state
vault_handlers.go - Vault state → Encrypted storage: uses storage
- Container API → Docker backend: uses backend
- Container API → Bastille backend: uses backend
- Cluster sync → Download services: issues tickets
cluster.go - API routing → File operations: registers routes