This commit is contained in:
renzhiyuan 2025-07-28 02:24:23 +08:00
parent f0171e80ef
commit f52519a64d
2 changed files with 1 additions and 12 deletions

View File

@ -1,13 +1 @@
package main
import (
"bytes"
"encoding/binary"
"fmt"
"github.com/gofiber/websocket/v2"
"io"
"log"
"os"
"time"
)

View File

@ -103,6 +103,7 @@ func main() {
if err := env.Parse(&config); err != nil {
log.Fatalf("加载配置失败: %v", err)
}
fmt.Print(config.SampleRate)
app := Server()
// 启动服务器
go func() {