Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer(originalTransport *http.RoundTripper) *container
Types ¶
type Middleware ¶
type ZeroRating ¶
type ZeroRating struct {
// contains filtered or unexported fields
}
func NewZeroRating ¶
func NewZeroRating() *ZeroRating
func (*ZeroRating) ModifyRequest ¶
func (zr *ZeroRating) ModifyRequest(req *http.Request) (modifiedRequest *http.Request)
func (*ZeroRating) ReWrite ¶
func (zr *ZeroRating) ReWrite(uri string) (result string)
func (*ZeroRating) Reset ¶
func (zr *ZeroRating) Reset()
func (*ZeroRating) Update ¶
func (zr *ZeroRating) Update(rules map[string]string)
Click to show internal directories.
Click to hide internal directories.