fakewarehouse_v1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WarehouseServer

type WarehouseServer struct {
	// contains filtered or unexported fields
}

func NewWarehouseServer

func NewWarehouseServer(
	grpcServer *grpc.Server,
) *WarehouseServer

func (*WarehouseServer) ClearAllResponses

func (s *WarehouseServer) ClearAllResponses(
	tid string,
)

func (*WarehouseServer) SetListProductInventoriesResponse

func (s *WarehouseServer) SetListProductInventoriesResponse(
	tid string,
	res *v1.ListProductInventoriesResponse,
	err error,
)

func (*WarehouseServer) SetListProductInventoriesResponseCreator

func (s *WarehouseServer) SetListProductInventoriesResponseCreator(
	tid string,
	creator func(ctx context.Context, req *v1.ListProductInventoriesRequest) (*v1.ListProductInventoriesResponse, error))

func (*WarehouseServer) SetShipProductResponse

func (s *WarehouseServer) SetShipProductResponse(
	tid string,
	res *v1.ShipProductResponse,
	err error,
)

func (*WarehouseServer) SetShipProductResponseCreator

func (s *WarehouseServer) SetShipProductResponseCreator(
	tid string,
	creator func(ctx context.Context, req *v1.ShipProductRequest) (*v1.ShipProductResponse, error))

Jump to

Keyboard shortcuts

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