mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
1.2 KiB
1.2 KiB
NanoKVM Server
The code of NanoKVM backend server. For more documentation, please refer to Wiki.
Structure
server
├── config // server config
├── logger // server log
├── main.go
├── middleware // server middleware
├── proto // api request and response arguments
├── router // api routes
├── service // api handlers
└── utils // utils functions
Development
The configuration file path is /etc/kvm/server.yaml. There are two configurable options:
-
log: error: log level, default iserror. Too many logs may affect service performance, it is recommended to use theerrorlevel in production environment. -
authentication: enable: Whether to enable authentication, default isenable. Logging in is required after each service restart, usedisablewill skip the authentication check and don't need to log in again. Please delete this configuration for production environments!
Deployment
Work in progress.
The project requires CGO. It must be compiled on Linux with a toolchain installed. More details will be added later.