Merge pull request 'add structure of agentapp to niki project' (#246) from add-agent-domain into develop

Reviewed-on: ebhomengo/niki#246
This commit is contained in:
hossein 2026-03-25 07:07:58 +00:00
commit 6cea941f48
9 changed files with 45 additions and 0 deletions

7
agentapp/app.go Normal file
View File

@ -0,0 +1,7 @@
package agentapp
type Application struct {
config Config
}
func Setup() {}

7
agentapp/config.go Normal file
View File

@ -0,0 +1,7 @@
package agentapp
type Config struct {
// database config
// httpserver config
//...
}

View File

@ -0,0 +1 @@
package http

View File

@ -0,0 +1,14 @@
package http
type Server struct {
// httpServer
// handler
}
func New() Server {
return Server{}
}
func (s Server) Serve() {}
func (s Server) RegisterRoutes() {}

View File

@ -0,0 +1 @@
package repository

View File

@ -0,0 +1,5 @@
package service
type Agent struct {
ID uint
}

View File

@ -0,0 +1 @@
package service

View File

@ -0,0 +1,8 @@
package service
type Service struct {
}
func New() Service {
return Service{}
}

View File

@ -0,0 +1 @@
package service