Documentation ¶
Index ¶
Constants ¶
View Source
const Type = "rewrite"
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
func GetSpec() *plugin.MiddlewareSpec
Types ¶
type Rewrite ¶
func NewRewrite ¶
func (*Rewrite) NewMiddleware ¶
func (rw *Rewrite) NewMiddleware() (middleware.Middleware, error)
type RewriteInstance ¶
type RewriteInstance struct {
// contains filtered or unexported fields
}
func NewRewriteInstance ¶
func NewRewriteInstance(spec *Rewrite) (*RewriteInstance, error)
func (*RewriteInstance) ProcessRequest ¶
func (*RewriteInstance) ProcessResponse ¶
func (rw *RewriteInstance) ProcessResponse(r request.Request, a request.Attempt)
Click to show internal directories.
Click to hide internal directories.