handler

package
v0.0.0-...-a67f385 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

Types

type Handler

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

Handler - struct contains service

func NewHandler

func NewHandler(services *service.Service, broker *broker.Kafka) *Handler

NewHandler - constructor

func (*Handler) InitRoutes

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

InitRoutes - routes

Jump to

Keyboard shortcuts

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