handlers

package
v0.0.0-...-a3ed9dc Latest Latest
Warning

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

Go to latest
Published: Jul 11, 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 Handler

type Handler struct {
	Service services.Service
	MsqConn *msq.MsqConn
}

func NewHandler

func NewHandler(service services.Service, kafkaConn *msq.MsqConn) Handler

func (*Handler) AddCompany

func (h *Handler) AddCompany(c *gin.Context)

func (*Handler) CheckAuth

func (h *Handler) CheckAuth(c *gin.Context)

func (*Handler) DeleteCompany

func (h *Handler) DeleteCompany(c *gin.Context)

func (*Handler) GetCompanyByID

func (h *Handler) GetCompanyByID(c *gin.Context)

func (*Handler) UpdateCompany

func (h *Handler) UpdateCompany(c *gin.Context)

func (*Handler) UserLogin

func (h *Handler) UserLogin(c *gin.Context)

func (*Handler) UserLogout

func (h *Handler) UserLogout(c *gin.Context)

func (*Handler) UserSignup

func (h *Handler) UserSignup(c *gin.Context)

Jump to

Keyboard shortcuts

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