15 lines
277 B
Go
15 lines
277 B
Go
package handler
|
|
|
|
import (
|
|
"mstore/app/operator"
|
|
"mstore/app/router"
|
|
)
|
|
|
|
func (hand *Handler) FileExists(rctx *router.Context) {
|
|
hand.logg.Debugf("handle FileExists")
|
|
|
|
params := &operator.FileExistsParams{}
|
|
res, _ := hand.oper.FileExists(params)
|
|
rctx.SetStatus(res.Code)
|
|
}
|