Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
Logger *zap.SugaredLogger
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer( config *config.Config, db *ent.Client, debug bool, logger *zap.SugaredLogger, aiService ai.AiService, tableService table.TableService, ) *HTTPServer
func (*HTTPServer) CreateTable ¶
func (hs *HTTPServer) CreateTable(ctx *gin.Context)
func (*HTTPServer) RegisterRoutes ¶
func (hs *HTTPServer) RegisterRoutes(engine *gin.Engine)
Click to show internal directories.
Click to hide internal directories.