server: rewrite timeout system

This commit is contained in:
aler9
2021-05-04 15:38:46 +02:00
committed by Alessandro Ros
parent 5527f4d1f7
commit 6f749e6ba8
7 changed files with 115 additions and 104 deletions

View File

@@ -127,10 +127,11 @@ type ServerHandlerOnPause interface {
// ServerHandlerOnGetParameterCtx is the context of a GET_PARAMETER request.
type ServerHandlerOnGetParameterCtx struct {
Conn *ServerConn
Req *base.Request
Path string
Query string
Session *ServerSession
Conn *ServerConn
Req *base.Request
Path string
Query string
}
// ServerHandlerOnGetParameter can be implemented by a ServerHandler.