handler

package
v0.0.0-...-929e0ab Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler - хендлер, принимающий слой сервисов

func NewHandler

func NewHandler(services *service.Service) *Handler

NewHandler - конструируем хендлер передачей в него сервиса

func (*Handler) InitRoutes

func (h *Handler) InitRoutes() *gin.Engine

InitRoutes - инициализаруем пути и их хендлеры

Jump to

Keyboard shortcuts

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