Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { zrpc.RpcServerConf Mysql struct { DataSource string } CacheRedis cache.CacheConf // Product specific settings MaxCategoryLevel int `json:",default=3"` MaxSkusPerProduct int `json:",default=100"` MaxImagesPerProduct int `json:",default=10"` MaxReviewImages int `json:",default=5"` MinReviewLength int `json:",default=5"` MaxReviewLength int `json:",default=500"` PageSize int `json:",default=10"` RabbitMQ struct { Host string Port int Username string Password string VHost string Exchanges struct { ProductEvent struct { Name string Type string Durable bool } } Queues struct { ProductUpdate struct { Name string RoutingKey string Durable bool } } } }
Click to show internal directories.
Click to hide internal directories.