feat: add unix socket api(set debug)
This commit is contained in:
@ -11,7 +11,6 @@ import (
|
||||
type listen struct {
|
||||
Http string `json:"http"`
|
||||
Grpc string `json:"grpc"`
|
||||
Unix string `json:"unix"`
|
||||
}
|
||||
|
||||
type db struct {
|
||||
|
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user