transfer_rs/cmd/api/internal/config/config.go

28 lines
356 B
Go
Raw Normal View History

2024-06-18 18:14:57 +08:00
package config
import (
"github.com/zeromicro/go-zero/core/stores/cache"
"github.com/zeromicro/go-zero/rest"
)
type Config struct {
rest.RestConf
Rpc
DB struct {
Coupon struct {
DataSource string
}
2024-07-09 18:19:52 +08:00
Transfer struct {
DataSource string
}
2024-06-18 18:14:57 +08:00
}
Cache cache.CacheConf
}
type Rpc struct {
Nacos Nacos
}
type Nacos struct {
Target string
}