Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FiberWebServer ¶
type FiberWebServer struct { TemplatesPath string Port int Server *fiber.App // contains filtered or unexported fields }
func NewFiberWebServer ¶
func NewFiberWebServer(cfg FiberWebServerConfig, adapters FiberWebServerAdapters) *FiberWebServer
func (*FiberWebServer) AddRoute ¶
func (f *FiberWebServer) AddRoute(method string, path string, handler inbound.RouteHandlerFunc)
func (*FiberWebServer) AddWebsocketRoute ¶
func (f *FiberWebServer) AddWebsocketRoute(path string, handler inbound.RouteHandlerFunc)
func (*FiberWebServer) Start ¶
func (f *FiberWebServer) Start() error
type FiberWebServerAdapters ¶
Click to show internal directories.
Click to hide internal directories.