You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
282 B
Go

package config
import "github.com/zeromicro/go-zero/zrpc"
type (
Kafka struct {
Addr []string
Topic string
ConsumerGroupId string
}
Config struct {
zrpc.RpcServerConf
DB struct {
DataSource string
}
Gift struct {
Kafka Kafka
}
}
)