Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "context-file"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configJSON json.RawMessage) (reverseproxy.Filter, error)
Types ¶
type Context ¶
type Context struct {
Config *Config
}
func (*Context) OnRequest ¶
func (f *Context) OnRequest(ctx context.Context, w http.ResponseWriter, infor reverseproxy.HttpInfor) (signal reverseproxy.Signal, err error)
Click to show internal directories.
Click to hide internal directories.