Files
2024-11-06 18:43:16 +08:00
..
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-10-13 18:41:04 +02:00
2024-10-13 18:41:04 +02:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-10-17 11:56:42 +08:00
2024-10-17 11:56:42 +08:00
2024-10-17 11:56:42 +08:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00
2024-11-06 18:43:16 +08:00

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 is error. Too many logs may affect service performance, it is recommended to use the error level in production environment.

  • authentication: enable: Whether to enable authentication, default is enable. Logging in is required after each service restart, use disable will 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.