app

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpHandler

type HttpHandler struct {
	R       fiber.Router
	Log     *zap.Logger
	Storage storage.Port
	DB      *gorm.DB
	Config  *viper.Viper
}

HttpHandler handler that use HTTP in the delivery layer.

func (*HttpHandler) SetupRouter

func (h *HttpHandler) SetupRouter()

SetupRouter init all HTTP endpoints and their dependencies.

Jump to

Keyboard shortcuts

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