app-cloudep-wallet-service/internal/config/config.go

23 lines
362 B
Go
Raw Normal View History

2025-04-10 08:20:01 +00:00
package config
2025-04-16 09:24:54 +00:00
import (
"github.com/zeromicro/go-zero/zrpc"
"time"
)
2025-04-10 08:20:01 +00:00
type Config struct {
zrpc.RpcServerConf
2025-04-16 09:24:54 +00:00
MySQL struct {
UserName string
Password string
Host string
Port string
Database string
MaxIdleConns int
MaxOpenConns int
ConnMaxLifetime time.Duration
LogLevel string
}
2025-04-10 08:20:01 +00:00
}