working commit

This commit is contained in:
2026-02-03 11:55:07 +02:00
parent fe0a3afcdd
commit 24b9acd678
10 changed files with 657 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package handler
import (
"mstore/app/operator"
"mstore/app/router"
)
// GET /v2/ 200 404/401
func (hand *Handler) GetVersion(rctx *router.Context) {
params := &operator.GetVersionParams{}
ctx := rctx.GetContext()
_, code, err := hand.oper.GetVersion(ctx, params)
if err != nil {
hand.logg.Errorf("GetVersion error: %v", err)
}
rctx.SetStatus(code)
}