Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterRoutesResult ¶
type RegisterRoutesResult bool
func RegisterRoutes ¶
func RegisterRoutes( router fiber.Router, config ServerConfig, pageRenderHandler *page_render_handler.PageRender, index *handler.Index, getProducts *handler.GetProducts, ) RegisterRoutesResult
type Server ¶
type Server interface { Router() fiber.Router Start() Stop() }
func NewServer ¶
func NewServer(conf ServerConfig, errorHandler fiber.ErrorHandler, render fiber.Views) Server
type ServerConfig ¶
type ServerImpl ¶
type ServerImpl struct { App *fiber.App Conf ServerConfig }
func (*ServerImpl) Router ¶
func (s *ServerImpl) Router() fiber.Router
func (*ServerImpl) Start ¶
func (s *ServerImpl) Start()
func (*ServerImpl) Stop ¶
func (s *ServerImpl) Stop()
Click to show internal directories.
Click to hide internal directories.