Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpHandler ¶
type HttpHandler struct {
// contains filtered or unexported fields
}
func NewHttpHandler ¶
func NewHttpHandler(timeout int) *HttpHandler
func (*HttpHandler) Serve ¶
func (h *HttpHandler) Serve(ctx context.Context, lConn *net.TCPConn, pkt *packet.HttpRequest, ip string)
type HttpsHandler ¶
type HttpsHandler struct {
// contains filtered or unexported fields
}
func NewHttpsHandler ¶
func (*HttpsHandler) Serve ¶
func (h *HttpsHandler) Serve(ctx context.Context, lConn *net.TCPConn, initPkt *packet.HttpRequest, ip string)
Click to show internal directories.
Click to hide internal directories.