add audio support, trying to manage MSD device

This commit is contained in:
Artem
2024-11-03 11:44:40 +01:00
parent 68ba48a3a2
commit 1b60f43df1
22 changed files with 1059 additions and 263 deletions

17
http/reqrsp/nanokvm.go Normal file
View File

@@ -0,0 +1,17 @@
package reqrsp
const MsgSuccess = "success"
type NanoKVMRsp struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data any `json:"data"`
}
type FilesRsp struct {
Files []string `json:"files"`
}
type FileRsp struct {
File string `json:"file"`
}