Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TopicChannelType topic交换机 TopicChannelType = channelType(1) // FanoutChannelType fanout 交换机 FanoutChannelType = channelType(2) // WorkerChannelType Worker交换机 WorkerChannelType = channelType(3) )
Variables ¶
View Source
var ( Opts = &struct { Host string Account string Password string }{} Flags = []cli.Flag{ &cli.StringFlag{ Name: "MQHOST", Value: "127.0.0.1:5672/xw-debug", Usage: "-MQHOST 127.0.0.1", EnvVars: []string{"MQHOST"}, Destination: &Opts.Host, }, &cli.StringFlag{ Name: "MQACCOUNT", Value: "xw", Usage: "-MQACCOUNT guest", EnvVars: []string{"MQACCOUNT"}, Destination: &Opts.Account, }, &cli.StringFlag{ Name: "MQPASSWORD", Value: "123456", Usage: "-MQPASSWORD guest", EnvVars: []string{"MQPASSWORD"}, Destination: &Opts.Password, }, } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.