Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestRewriter ¶
type RequestRewriter struct {
// contains filtered or unexported fields
}
RequestRewriter can be used to rewrite http requests.
func NewRequestRewriter ¶
func NewRequestRewriter( userScript []byte, libraries []string, ) (RequestRewriter, error)
NewRequestRewriter creates a RequestRewriter out of a tengo script. The libraries used in the script should also be specified.
Click to show internal directories.
Click to hide internal directories.