25 lines
501 B
Go
Raw Permalink Normal View History

// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package config
import (
"github.com/zeromicro/go-zero/rest"
"github.com/zeromicro/go-zero/zrpc"
)
type Config struct {
rest.RestConf
Auth struct {
AccessSecret string
AccessExpire int64
DefaultTenantId string
}
DataSource string
PostgresDataSource string
SystemRpc zrpc.RpcClientConf
InventoryRpc zrpc.RpcClientConf
PurchaseRpc zrpc.RpcClientConf
ProductionRpc zrpc.RpcClientConf
}