Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is a wrapper over the config section which provides access to Shard's limits configurations.
type IOTagConfig ¶
type OpConfig ¶
type OpConfig struct { // MaxWaitingOps returns the value of "max_waiting_ops" config parameter. // // Equals NoLimit if the value is not a positive number. MaxWaitingOps int64 // MaxRunningOps returns the value of "max_running_ops" config parameter. // // Equals NoLimit if the value is not a positive number. MaxRunningOps int64 // IdleTimeout returns the value of "idle_timeout" config parameter. // // Equals DefaultIdleTimeout if the value is not a valid duration. IdleTimeout time.Duration // Tags returns the value of "tags" config parameter. // // Equals nil if the value is not a valid tags config slice. Tags []IOTagConfig }
Click to show internal directories.
Click to hide internal directories.