Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateHttpHeadersSize ¶
EstimateHttpHeadersSize had to create this because headers size was not counted
Types ¶
type ByteSize ¶
type ByteSize struct {
Size float64
}
ByteSize a helper struct that implements the String() method and returns a human readable result. Very useful for %v formatting.
type HeaderList ¶
type HeaderList []string
func (*HeaderList) Set ¶
func (i *HeaderList) Set(value string) error
func (*HeaderList) String ¶
func (i *HeaderList) String() string
type RedirectError ¶
type RedirectError struct {
// contains filtered or unexported fields
}
RedirectError specific error type that happens on redirection
func NewRedirectError ¶
func NewRedirectError(message string) *RedirectError
func (*RedirectError) Error ¶
func (self *RedirectError) Error() string
Click to show internal directories.
Click to hide internal directories.