add structure of agentapp to niki project

This commit is contained in:
fardin 2026-03-22 01:58:57 -04:00
parent b9db2926c1
commit 0ab459495f
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