Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultWidthEstimator ¶
DefaultWidthEstimator returns returns '1' as the "width" of the given request.
TODO: when we plumb in actual "width" handling for different
type of request(s) this function will iterate through a chain of widthEstimator instance(s).
Types ¶
type WidthEstimatorFunc ¶
WidthEstimatorFunc returns the estimated "width" of a given request. This function will be used by the Priority & Fairness filter to estimate the "width" of incoming requests.
func (WidthEstimatorFunc) EstimateWidth ¶
func (e WidthEstimatorFunc) EstimateWidth(r *http.Request) uint
Click to show internal directories.
Click to hide internal directories.