package
Version:
v0.0.0-...-bd5e2c9
Opens a new window with list of versions in this module.
Published: Sep 9, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type MySQL struct {
URI string `yaml:"uri"`
User string `yaml:"user"`
Password string `yaml:"password"`
Database string `yaml:"database"`
}
type RabbitMQ struct {
URI string `yaml:"uri"`
HeartbeatInterval int `yaml:"heartbeatInterval"`
}
type ServiceConfig struct {
SwordTaskManagerConfig *SwordTaskManager `yaml:"sword-task-manager"`
RabbitMQConfig *RabbitMQ `yaml:"rabbitmq"`
MySQLConfig *MySQL `yaml:"mysql"`
}
ServiceConfig represents the configuration needed to run this service
type SwordTaskManager struct {
Exchange string `yaml:"exchange"`
RoutingKeys map[string]string `yaml:"routing_keys"`
Type string `yaml:"type"`
Durable bool `yaml:"durable"`
}
SwordTaskManager represents the inner service configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.