Documentation
¶
Index ¶
Constants ¶
View Source
const (
JudgePath = "/judge"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Logger logrus.FieldLogger
RequestHandler *proxy.RequestHandler
KeyManager rsakey.Manager
Matcher rule.Matcher
H herodot.Writer
Router *httprouter.Router
}
func NewHandler ¶
func NewHandler(handler *proxy.RequestHandler, logger logrus.FieldLogger, matcher rule.Matcher, router *httprouter.Router) *Handler
Click to show internal directories.
Click to hide internal directories.