service

package
v0.0.0-...-a7d4f01 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderService

type OrderService struct {
	pb.UnimplementedOrderServiceServer
	CreateOrderUseCase *usecase.CreateOrderUseCase
	// contains filtered or unexported fields
}

func NewOrderService

func NewOrderService(createOrderUseCase *usecase.CreateOrderUseCase, listOrdersUseCase *usecase.ListOrdersUseCase) *OrderService

func (*OrderService) CreateOrder

func (*OrderService) ListOrders

func (s *OrderService) ListOrders(ctx context.Context, in *pb.Empty) (*pb.OrderList, error)

Jump to

Keyboard shortcuts

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