package handler import ( "mstore/app/operator" "mstore/app/router" ) func (hand *Handler) FileExists(rctx *router.Context) { hand.logg.Debugf("handle FileExists") filepath := rctx.PathMap["filepath"] params := &operator.FileExistsParams{ Filepath: filepath, } hand.logg.Debugf("filepath: %s", filepath) code, _, _ := hand.oper.FileExists(params) rctx.SetStatus(code) }