Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server Server `yaml:"server"` JobQueue JobQueue `yaml:"job_queue"` WorkerPool WorkerPool `yaml:"worker_pool"` Scheduler Scheduler `yaml:"scheduler"` Consumer Consumer `yaml:"consumer"` Repository Repository `yaml:"repository"` TimeoutUnitOption string `yaml:"timeout_unit"` LoggingFormat string `yaml:"logging_format"` TimeoutUnit time.Duration }
type ConsumeParams ¶
type Consumer ¶
type Consumer struct {
JobQueuePollingInterval int `yaml:"job_queue_polling_interval"`
}
type JobQueue ¶
type JobQueue struct { Option string `yaml:"option"` MemoryJobQueue MemoryJobQueue `yaml:"memory_job_queue"` RabbitMQ RabbitMQ `yaml:"rabbitmq"` }
type MemoryJobQueue ¶
type MemoryJobQueue struct {
Capacity int `yaml:"capacity"`
}
type PublishParams ¶
type QueueParams ¶
type RabbitMQ ¶
type RabbitMQ struct { QueueParams QueueParams `yaml:"queue_params"` ConsumeParams ConsumeParams `yaml:"consume_params"` PublishParams PublishParams `yaml:"publish_params"` }
type Repository ¶
type Scheduler ¶
type Scheduler struct {
RepositoryPollingInterval int `yaml:"repository_polling_interval"`
}
type WorkerPool ¶
Click to show internal directories.
Click to hide internal directories.