Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HeadTimeoutDefault is a default object.Head request timeout in policer. HeadTimeoutDefault = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func HeadTimeout ¶
HeadTimeout returns the value of "head_timeout" config parameter from "policer" section.
Returns HeadTimeoutDefault if the value is not positive duration.
func UnsafeDisable ¶ added in v0.37.0
UnsafeDisable returns the value of "unsafe_disable" config parameter from "policer" section.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.