chat document update
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"net/http"
|
||||
"reflect"
|
||||
|
||||
"repositories.action2quare.com/ayo/gocommon/logger"
|
||||
"repositories.action2quare.com/ayo/gocommon/wshandler"
|
||||
)
|
||||
|
||||
@ -45,6 +46,8 @@ func (afc *apiFuncsContainer) call(fn string, w http.ResponseWriter, r *http.Req
|
||||
f := afc.normfuncs[fn]
|
||||
if f != nil {
|
||||
f(w, r)
|
||||
} else {
|
||||
logger.Println("api func is missing :", fn)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user