handler

package
v0.0.0-...-8f657ed Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cart

type Cart struct {
	CartDataService service.ICartDataService
}

func (*Cart) AddCart

func (h *Cart) AddCart(ctx context.Context, request *cart.CartInfo, response *cart.ResponseAdd) (err error)

func (*Cart) CleanCart

func (h *Cart) CleanCart(ctx context.Context, request *cart.Clean, response *cart.Response) error

func (*Cart) Decr

func (h *Cart) Decr(ctx context.Context, request *cart.Item, response *cart.Response) error

func (*Cart) DeleteItemByID

func (h *Cart) DeleteItemByID(ctx context.Context, request *cart.CartID, response *cart.Response) error

func (*Cart) GetAll

func (h *Cart) GetAll(ctx context.Context, request *cart.CartFindAll, response *cart.CartAll) error

func (*Cart) Incr

func (h *Cart) Incr(ctx context.Context, request *cart.Item, response *cart.Response) error

Jump to

Keyboard shortcuts

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