Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Listen string `toml:"listen"` SnapshotPath string `toml:"snapshot_path"` AuthToken string `toml:"auth_token"` DefaultPoolMaxSize int `toml:"default_pool_max_size"` MetricsPrefix string `toml:"metrics_prefix"` Pool map[string]*ConfigPool }
func (*Config) GetPoolMaxSize ¶
type ConfigPool ¶
type ConfigPool struct {
MaxSize int `toml:"max_size"`
}
Click to show internal directories.
Click to hide internal directories.