18 lines
321 B
Go
18 lines
321 B
Go
package config
|
|
|
|
import (
|
|
"github.com/zeromicro/go-zero/core/stores/cache"
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
)
|
|
|
|
type Config struct {
|
|
zrpc.RpcServerConf
|
|
SnowflakeRpcConf zrpc.RpcClientConf
|
|
UsersRpcConf zrpc.RpcClientConf
|
|
DB struct {
|
|
Master string
|
|
Slaves string
|
|
}
|
|
CacheConf cache.CacheConf
|
|
}
|