update name

master
taoshihan 1 month ago
parent 3cd76538ba
commit 3bcf444d34

@ -1,7 +1,6 @@
package cmd
import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/spf13/cobra"
"github.com/zh-five/xdaemon"
@ -65,7 +64,7 @@ func run() {
router.InitViewRouter(engine)
router.InitApiRouter(engine)
//记录pid
os.WriteFile("gofly.sock", []byte(fmt.Sprintf("%d,%d", os.Getppid(), os.Getpid())), 0666)
//os.WriteFile("gofly.sock", []byte(fmt.Sprintf("%d,%d", os.Getppid(), os.Getpid())), 0666)
//限流类
tools.NewLimitQueue()
//清理

@ -56,11 +56,11 @@ cd goflylivechat
```
* Initialize the Database
```php
go run gofly.go install
go run main.go install
```
* Run the Application
```php
go run gofly.go server
go run main.go server
```
* Build executable
```php

Loading…
Cancel
Save