Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// Limit to how many slow responses can be outstanding at a time. Beyond
// this limit, requests eligible for slow responses will receive fast empty
// ones instead.
SlowResponseLimit int32
// How long to spend issuing a slow response.
SlowResponseDeadline time.Duration
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) AddReporter ¶
type TarpitWriter ¶
type TarpitWriter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.