Documentation ¶
Index ¶
- type Server
- func (c *Server) Build()
- func (c *Server) Listen(s string) error
- func (c *Server) SetAddr(addr string)
- func (c *Server) SetControllers(controllers []controllers.Controller)
- func (c *Server) SetCors(cfg middleware.CORSConfig)
- func (c *Server) SetManagers(managers []managers.Manager)
- func (c *Server) SetRepositories(repositories []repositories.Repository)
- func (c *Server) Setup(db *gorm.DB)
- func (c *Server) StartNonBlocking(wg *sync.WaitGroup)
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 (*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 (*Server) SetRepositories ¶
func (c *Server) SetRepositories(repositories []repositories.Repository)
func (*Server) StartNonBlocking ¶ added in v0.3.0
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 |
Click to show internal directories.
Click to hide internal directories.