productservice

package
v0.0.0-...-786533a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 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 ProductService

type ProductService interface {
	Fetch(response http.ResponseWriter, request *http.Request)
	FetchOne(response http.ResponseWriter, request *http.Request)
	Purchase(response http.ResponseWriter, request *http.Request)
}

ProductService is a contract of http adapter layer

func New

func New(usecase productusecase.ProductUseCase, jsonValidate *validator.Validate) ProductService

New returns contract implementation of ProductService

Jump to

Keyboard shortcuts

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