18 lines
319 B
Go
18 lines
319 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"mstore/app/operator"
|
|
"mstore/app/router"
|
|
)
|
|
|
|
func (hand *Handler) SendHello(rctx *router.Context) {
|
|
hand.logg.Debugf("Handle SendHello")
|
|
|
|
params := &operator.SendHelloParams{}
|
|
res, _ := hand.oper.SendHello(params)
|
|
rctx.SetStatus(http.StatusOK)
|
|
hand.SendResult(rctx, res)
|
|
}
|