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

28 lines
356 B
Go
Executable File

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
}
Transfer struct {
DataSource string
}
}
Cache cache.CacheConf
}
type Rpc struct {
Nacos Nacos
}
type Nacos struct {
Target string
}