service

package
v0.0.0-...-c8c1909 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewOrderService)

ProviderSet is server providers.

Functions

This section is empty.

Types

type OrderService

type OrderService struct {
	pb.UnimplementedOrderServer
	// contains filtered or unexported fields
}

func NewOrderService

func NewOrderService(oc *biz.OrderUseCase, logger log.Logger) *OrderService

func (*OrderService) CreateOrder

func (s *OrderService) CreateOrder(ctx context.Context, req *pb.CreateOrderRequest) (*pb.CreateOrderReply, error)

func (*OrderService) GetOrder

func (s *OrderService) GetOrder(ctx context.Context, req *pb.GetOrderRequest) (*pb.GetOrderReply, error)

func (*OrderService) ListOrder

func (s *OrderService) ListOrder(ctx context.Context, req *pb.ListOrderRequest) (*pb.ListOrderReply, error)

func (*OrderService) UpdateOrder

func (s *OrderService) UpdateOrder(ctx context.Context, req *pb.UpdateOrderRequest) (*pb.UpdateOrderReply, error)

Jump to

Keyboard shortcuts

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