Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FiberServer ¶
type FiberServer struct { Server *fiber.App // contains filtered or unexported fields }
FiberServer - Fiber server.
func (*FiberServer) GetServer ¶
func (srv *FiberServer) GetServer() *fiber.App
GetServer - return the fiber server.
func (*FiberServer) Setup ¶
func (srv *FiberServer) Setup(ctx context.Context, setupFunc func(fiber *fiber.App))
Setup - Receive a callback function setupFunc that let to configure the server.
func (*FiberServer) Shutdown ¶
func (srv *FiberServer) Shutdown(ctx context.Context)
Shutdown - shutdown the server.
Click to show internal directories.
Click to hide internal directories.