Browse Source

Add MessageQOption.

develop
Mingcai SHEN 8 years ago
parent
commit
bb2dcc692a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      configs/options.go

+ 4
- 2
configs/options.go View File

@ -35,9 +35,11 @@ type RedisOption struct {
Database int64
}
type NsQOption struct {
type MQOption struct {
Addresses string /* Multiple Address separated by ','*/
ConnType string /* HTTP or TCP */
Addresses string /* Connection Address with */
Prefix string /* Topic Prefix, eg: node1, topics names will be added node1.xxx */
Channel string /* Channel Name */
}
func CheckConfiguration(option interface{}, output io.Writer) {

Loading…
Cancel
Save