gofiberserver

package
v0.0.0-...-be30c67 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMiddlewares

type IMiddlewares interface {
	Cors() fiber.Handler
	Logger() fiber.Handler
	RouterCheck() fiber.Handler
	JwtAuth(userUsecase userusecase.IUserUsecase) fiber.Handler
}

func InitMiddlewares

func InitMiddlewares() IMiddlewares

type IModuleFactory

type IModuleFactory interface {
	MonitorModule()
	UsersModule()
	SwaggerModule()
	CRUDModule()
}

func InitModule

func InitModule(router fiber.Router, server *gofiberServer, middlewares IMiddlewares) IModuleFactory

type IServer

type IServer interface {
	Start()
}

func NewServer

func NewServer(application entities.ApplicationEntity) IServer

Jump to

Keyboard shortcuts

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