package
Version:
v0.0.0-...-bcc6005
Opens a new window with list of versions in this module.
Published: May 22, 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 BlackHole struct {
Address string `yaml:"address"`
Celestial string `yaml:"celestial"`
Apollo string `yaml:"apollo"`
Meridian string `yaml:"meridian"`
DB []string `yaml:"db"`
Queues map[string]Queue `yaml:"queue"`
InstrumentConf map[string]string `yaml:"instrument"`
}
type Config struct {
Content BlackHole `yaml:"blackhole"`
}
type FillInterval struct {
Interval int `yaml:"interval"`
Rate string `yaml:"rate"`
}
type Queue struct {
Namespace string `yaml:"namespace"`
TRetry Retry `yaml:"retry"`
MaxWorkers int `yaml:"maxWorkers"`
Capacity int64 `yaml:"capacity"`
Tokens int64 `yaml:"tokens"`
Rate FillInterval `yaml:"fillInterval"`
}
type Retry struct {
Delay string `yaml:"delay"`
Doubling int `yaml:"doubling"`
Limit int `yaml:"limit"`
}
type TaskOption struct {
TRetry *Retry `yaml:"retry"`
Namespace string `yaml:"namespace"`
Name string `yaml:"name"`
MaxWorkers int `yaml:"maxWorkers"`
MaxQueued int `yaml:"maxQueued"`
Capacity int64 `yaml:"capacity"`
Tokens int64 `yaml:"tokens"`
FillRate *FillInterval `yaml:"fillInterval"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.