api

package
v0.0.0-...-fdefd50 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateDB

func MigrateDB()

func RunServer

func RunServer()

Types

type AppHandlers

type AppHandlers struct {
	// contains filtered or unexported fields
}

type AppRepositories

type AppRepositories struct {
	// contains filtered or unexported fields
}

type AppUseCases

type AppUseCases struct {
	// contains filtered or unexported fields
}

type EnvVariables

type EnvVariables struct {
	MYSQL_ROOT_HOST     string
	MYSQL_ROOT_PASSWORD string
	MYSQL_DATABASE      string
}

type RestServer

type RestServer struct {
	// contains filtered or unexported fields
}

func NewRestService

func NewRestService(router *echo.Echo, appHandler *AppHandlers) *RestServer

func (*RestServer) PingRoutes

func (s *RestServer) PingRoutes(v1 *echo.Group)

func (*RestServer) ProductRoutes

func (s *RestServer) ProductRoutes(v2 *echo.Group)

func (*RestServer) SetUpRoutes

func (s *RestServer) SetUpRoutes()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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