Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugEcho = false
Functions ¶
func EchoPortHandler ¶
func EchoPortHandler(ug *ugate.UGate, ph *meshauth.PortListener) error
Types ¶
type EchoHandler ¶
type EchoHandler struct { UGate *ugate.UGate Debug bool ServerFirst bool WaitFirst time.Duration Received int }
Control handler, also used for testing
func (*EchoHandler) HandleConn ¶
func (eh *EchoHandler) HandleConn(conn net.Conn) error
func (*EchoHandler) ServeHTTP ¶
func (eh *EchoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*EchoHandler) String ¶
func (eh *EchoHandler) String() string
Click to show internal directories.
Click to hide internal directories.