10 lines
439 B
Go
10 lines
439 B
Go
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"`
|
|
}
|