Merge pull request 'feature/kindbox-app' (#245) from feature/kindbox-app into develop

Reviewed-on: ebhomengo/niki#245
Reviewed-by: hossein <h.nazari1990@gmail.com>
This commit is contained in:
hossein 2026-03-25 07:04:37 +00:00
commit 5e36546e05
6 changed files with 48 additions and 0 deletions

5
kindbox-app/cmd/main.go Normal file
View File

@ -0,0 +1,5 @@
package main
func main() {
panic("NOT IMPLEMENTED")
}

View File

@ -0,0 +1,10 @@
package http
import (
"github.com/labstack/echo/v4"
"net/http"
)
func (s Server) healthCheck(c echo.Context) error {
return c.JSON(http.StatusOK, "Everything is ok (kind box app)")
}

View File

@ -0,0 +1,15 @@
package http
import (
httpserver "git.gocasts.ir/ebhomengo/niki/delivery/http_server"
)
type Server struct {
HTTPServer *httpserver.Server
}
func New(httpserver *httpserver.Server) *Server {
return &Server{
HTTPServer: httpserver,
}
}

View File

@ -0,0 +1,4 @@
package entity
// KindBox /* Not Implemented */
type KindBox struct{}

View File

@ -0,0 +1,13 @@
package database
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
type DB struct {
conn *mysql.DB
}
func New(conn *mysql.DB) *DB {
return &DB{
conn: conn,
}
}

View File

@ -0,0 +1 @@
package service