imvc

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Server          *echo.Echo
	NotFoundHandler func(c echo.Context) error
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Build

func (c *Server) Build()

func (*Server) Listen

func (c *Server) Listen(s string) error

func (*Server) SetAddr added in v0.3.0

func (c *Server) SetAddr(addr string)

func (*Server) SetControllers

func (c *Server) SetControllers(controllers []controllers.Controller)

func (*Server) SetCors added in v0.3.0

func (c *Server) SetCors(cfg middleware.CORSConfig)

func (*Server) SetManagers

func (c *Server) SetManagers(managers []managers.Manager)

func (*Server) SetRepositories

func (c *Server) SetRepositories(repositories []repositories.Repository)

func (*Server) Setup

func (c *Server) Setup(db *gorm.DB)

func (*Server) StartNonBlocking added in v0.3.0

func (c *Server) StartNonBlocking(wg *sync.WaitGroup)

Directories

Path Synopsis
filename: with_stats.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
filename: with_stats.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
filename: 3xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
filename: 3xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
api
filename: 2xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
filename: 2xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
static
filename: 2xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published
filename: 2xx.go author: Thomas Lombard copyright: Thomas Lombard license: MIT status: published

Jump to

Keyboard shortcuts

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