Files
go-zero/example/bookstore/rpc/add/internal/config/config.go

13 lines
203 B
Go
Raw Normal View History

2020-09-03 23:26:04 +08:00
package config
import (
"github.com/tal-tech/go-zero/core/stores/cache"
2020-09-18 11:41:52 +08:00
"github.com/tal-tech/go-zero/zrpc"
2020-09-03 23:26:04 +08:00
)
type Config struct {
2020-09-18 11:41:52 +08:00
zrpc.RpcServerConf
2020-09-03 23:26:04 +08:00
DataSource string
Cache cache.CacheConf
2020-09-18 11:41:52 +08:00
}