feat: add unix socket api(set debug)

This commit is contained in:
loveuer
2024-08-05 17:43:41 +08:00
parent eea192e385
commit f9d59b99a0
8 changed files with 23 additions and 20 deletions

View File

@ -11,7 +11,6 @@ import (
type listen struct {
Http string `json:"http"`
Grpc string `json:"grpc"`
Unix string `json:"unix"`
}
type db struct {

View File

@ -6,6 +6,7 @@ import (
)
const (
RpcAddress = "tcp://127.0.0.1:8081" // unix:///tmp/xxx.sock
// todo: 可以替换自己生生成的 secret
JwtTokenSecret = "7^D+UW3BPB2Mnz)bY3uVrAUyv&dj8Kdz"