api

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL