Files
lone-services/bff/internal/config/config.go
T
gjs 6b8500ac5e
CI / changes (push) Successful in 1m29s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 29s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 1s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 20s
CI / support (push) Successful in 1s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 1s
ws
2026-10-08 14:14:39 +08:00

22 lines
463 B
Go

package config
import (
"github.com/zeromicro/go-zero/gateway"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
gateway.GatewayConf
Nacos NacosConf
WsPercutaneousRpc zrpc.RpcClientConf `json:",optional"`
WsPort int
}
type NacosConf struct {
Hosts []string
NamespaceId string `json:",optional"`
Group string `json:",optional"`
RegisterIP string `json:",optional"`
ConfigID string `json:",optional"`
}