http

package
v0.0.0-...-b6cb40f Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Http

type Http struct {
	App      *fiber.App
	Validate *validator.Validate
	Logger   log.Logger
	// contains filtered or unexported fields
}

Http is a wrapper for Fiber router

func New

func New(cfg *config.Http, logger log.Logger) *Http

New creates a new Fiber router instance

func (*Http) Start

func (h *Http) Start() error

Start starts the Http server

Jump to

Keyboard shortcuts

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