handler

package
v0.0.0-...-dd4b856 Latest Latest
Warning

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

Go to latest
Published: Nov 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 ContactHandler

type ContactHandler interface {
	GetAllContacts(*gin.Context)
	GetContactByEmail(*gin.Context)
	DeleteContact(*gin.Context)

	HealthCheck(*gin.Context)
}

func NewContactHandler

func NewContactHandler(client *mongo.Client, repo db.ContactRepository) ContactHandler

Jump to

Keyboard shortcuts

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