增加了amqp
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
type Amqp struct {
|
||||
Host string `mapstructure:"host" json:"host" yaml:"host"` // 服务器地址
|
||||
Port int `mapstructure:"port" json:"port" yaml:"port"` // 服务器端口
|
||||
Password string `mapstructure:"password" json:"password" yaml:"password"` // 密码
|
||||
User string `mapstructure:"user" json:"user" yaml:"user"`
|
||||
Vhost string `mapstructure:"vhost" json:"vhost" yaml:"vhost"`
|
||||
}
|
||||
Reference in New Issue
Block a user