Documentation
¶
Overview ¶
handler.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficHandler ¶
type TrafficHandler struct {
// contains filtered or unexported fields
}
TrafficHandler processes raw HTTP data.
func NewHTTPTrafficHandler ¶
func NewHTTPTrafficHandler(logger logger.Logger) *TrafficHandler
NewHTTPTrafficHandler creates a new instance of TrafficHandler.
func (*TrafficHandler) Handle ¶
func (h *TrafficHandler) Handle(ctx *tcp.ConnectionContext, conn gnet.Conn) gnet.Action
Handle processes incoming data and sends responses.
Click to show internal directories.
Click to hide internal directories.