Files
ocean/gateway/internal/config/config.go

17 lines
268 B
Go

package config
import (
"github.com/zeromicro/go-zero/rest"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
rest.RestConf
JwtAuth struct {
AccessSecret string
AccessExpire int64
}
UserRpc zrpc.RpcClientConf
CategoryRpc zrpc.RpcClientConf
}