depotpb

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package depotpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ShoppingListAggregateChannel = "intellimall.depot.events.ShoppingList"

	ShoppingListCompletedEvent = "depotapi.ShoppingListCompleted"

	CommandChannel = "intellimall.depot.commands"

	CreateShoppingListCommand = "depotapi.CreateShoppingListCommand"
	CancelShoppingListCommand = "depotapi.CancelShoppingListCommand"
	InitiateShoppingCommand   = "depotapi.InitiateShoppingCommand"

	CreatedShoppingListReply = "depotapi.CreatedShoppingListReply"
)

Variables

View Source
var DepotService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depotpb.DepotService",
	HandlerType: (*DepotServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateShoppingList",
			Handler:    _DepotService_CreateShoppingList_Handler,
		},
		{
			MethodName: "CancelShoppingList",
			Handler:    _DepotService_CancelShoppingList_Handler,
		},
		{
			MethodName: "AssignShoppingList",
			Handler:    _DepotService_AssignShoppingList_Handler,
		},
		{
			MethodName: "CompleteShoppingList",
			Handler:    _DepotService_CompleteShoppingList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depotpb/api.proto",
}

DepotService_ServiceDesc is the grpc.ServiceDesc for DepotService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_depotpb_api_proto protoreflect.FileDescriptor
View Source
var File_depotpb_messages_proto protoreflect.FileDescriptor

Functions

func RegisterDepotServiceHandler

func RegisterDepotServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDepotServiceHandler registers the http handlers for service DepotService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDepotServiceHandlerClient

func RegisterDepotServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DepotServiceClient) error

RegisterDepotServiceHandlerClient registers the http handlers for service DepotService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DepotServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DepotServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DepotServiceClient" to call the correct interceptors.

func RegisterDepotServiceHandlerFromEndpoint

func RegisterDepotServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDepotServiceHandlerFromEndpoint is same as RegisterDepotServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDepotServiceHandlerServer

func RegisterDepotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DepotServiceServer) error

RegisterDepotServiceHandlerServer registers the http handlers for service DepotService to "mux". UnaryRPC :call DepotServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDepotServiceHandlerFromEndpoint instead.

func RegisterDepotServiceServer

func RegisterDepotServiceServer(s grpc.ServiceRegistrar, srv DepotServiceServer)

func Registrations

func Registrations(reg registry.Registry) (err error)

Types

type AssignShoppingListRequest

type AssignShoppingListRequest struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BotId string `protobuf:"bytes,2,opt,name=bot_id,json=botId,proto3" json:"bot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignShoppingListRequest) Descriptor deprecated

func (*AssignShoppingListRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignShoppingListRequest.ProtoReflect.Descriptor instead.

func (*AssignShoppingListRequest) GetBotId

func (x *AssignShoppingListRequest) GetBotId() string

func (*AssignShoppingListRequest) GetId

func (x *AssignShoppingListRequest) GetId() string

func (*AssignShoppingListRequest) ProtoMessage

func (*AssignShoppingListRequest) ProtoMessage()

func (*AssignShoppingListRequest) ProtoReflect

func (*AssignShoppingListRequest) Reset

func (x *AssignShoppingListRequest) Reset()

func (*AssignShoppingListRequest) String

func (x *AssignShoppingListRequest) String() string

type AssignShoppingListResponse

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

func (*AssignShoppingListResponse) Descriptor deprecated

func (*AssignShoppingListResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssignShoppingListResponse.ProtoReflect.Descriptor instead.

func (*AssignShoppingListResponse) ProtoMessage

func (*AssignShoppingListResponse) ProtoMessage()

func (*AssignShoppingListResponse) ProtoReflect

func (*AssignShoppingListResponse) Reset

func (x *AssignShoppingListResponse) Reset()

func (*AssignShoppingListResponse) String

func (x *AssignShoppingListResponse) String() string

type CancelShoppingList

type CancelShoppingList struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelShoppingList) Descriptor deprecated

func (*CancelShoppingList) Descriptor() ([]byte, []int)

Deprecated: Use CancelShoppingList.ProtoReflect.Descriptor instead.

func (*CancelShoppingList) GetId

func (x *CancelShoppingList) GetId() string

func (*CancelShoppingList) Key

func (*CancelShoppingList) Key() string

func (*CancelShoppingList) ProtoMessage

func (*CancelShoppingList) ProtoMessage()

func (*CancelShoppingList) ProtoReflect

func (x *CancelShoppingList) ProtoReflect() protoreflect.Message

func (*CancelShoppingList) Reset

func (x *CancelShoppingList) Reset()

func (*CancelShoppingList) String

func (x *CancelShoppingList) String() string

type CancelShoppingListRequest

type CancelShoppingListRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelShoppingListRequest) Descriptor deprecated

func (*CancelShoppingListRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelShoppingListRequest.ProtoReflect.Descriptor instead.

func (*CancelShoppingListRequest) GetId

func (x *CancelShoppingListRequest) GetId() string

func (*CancelShoppingListRequest) ProtoMessage

func (*CancelShoppingListRequest) ProtoMessage()

func (*CancelShoppingListRequest) ProtoReflect

func (*CancelShoppingListRequest) Reset

func (x *CancelShoppingListRequest) Reset()

func (*CancelShoppingListRequest) String

func (x *CancelShoppingListRequest) String() string

type CancelShoppingListResponse

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

func (*CancelShoppingListResponse) Descriptor deprecated

func (*CancelShoppingListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelShoppingListResponse.ProtoReflect.Descriptor instead.

func (*CancelShoppingListResponse) ProtoMessage

func (*CancelShoppingListResponse) ProtoMessage()

func (*CancelShoppingListResponse) ProtoReflect

func (*CancelShoppingListResponse) Reset

func (x *CancelShoppingListResponse) Reset()

func (*CancelShoppingListResponse) String

func (x *CancelShoppingListResponse) String() string

type CompleteShoppingListRequest

type CompleteShoppingListRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteShoppingListRequest) Descriptor deprecated

func (*CompleteShoppingListRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteShoppingListRequest.ProtoReflect.Descriptor instead.

func (*CompleteShoppingListRequest) GetId

func (*CompleteShoppingListRequest) ProtoMessage

func (*CompleteShoppingListRequest) ProtoMessage()

func (*CompleteShoppingListRequest) ProtoReflect

func (*CompleteShoppingListRequest) Reset

func (x *CompleteShoppingListRequest) Reset()

func (*CompleteShoppingListRequest) String

func (x *CompleteShoppingListRequest) String() string

type CompleteShoppingListResponse

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

func (*CompleteShoppingListResponse) Descriptor deprecated

func (*CompleteShoppingListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CompleteShoppingListResponse.ProtoReflect.Descriptor instead.

func (*CompleteShoppingListResponse) ProtoMessage

func (*CompleteShoppingListResponse) ProtoMessage()

func (*CompleteShoppingListResponse) ProtoReflect

func (*CompleteShoppingListResponse) Reset

func (x *CompleteShoppingListResponse) Reset()

func (*CompleteShoppingListResponse) String

type CreateShoppingList

type CreateShoppingList struct {
	OrderId string                     `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Items   []*CreateShoppingList_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShoppingList) Descriptor deprecated

func (*CreateShoppingList) Descriptor() ([]byte, []int)

Deprecated: Use CreateShoppingList.ProtoReflect.Descriptor instead.

func (*CreateShoppingList) GetItems

func (*CreateShoppingList) GetOrderId

func (x *CreateShoppingList) GetOrderId() string

func (*CreateShoppingList) Key

func (*CreateShoppingList) Key() string

Commands

func (*CreateShoppingList) ProtoMessage

func (*CreateShoppingList) ProtoMessage()

func (*CreateShoppingList) ProtoReflect

func (x *CreateShoppingList) ProtoReflect() protoreflect.Message

func (*CreateShoppingList) Reset

func (x *CreateShoppingList) Reset()

func (*CreateShoppingList) String

func (x *CreateShoppingList) String() string

type CreateShoppingListRequest

type CreateShoppingListRequest struct {
	OrderId string       `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Items   []*OrderItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShoppingListRequest) Descriptor deprecated

func (*CreateShoppingListRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShoppingListRequest.ProtoReflect.Descriptor instead.

func (*CreateShoppingListRequest) GetItems

func (x *CreateShoppingListRequest) GetItems() []*OrderItem

func (*CreateShoppingListRequest) GetOrderId

func (x *CreateShoppingListRequest) GetOrderId() string

func (*CreateShoppingListRequest) ProtoMessage

func (*CreateShoppingListRequest) ProtoMessage()

func (*CreateShoppingListRequest) ProtoReflect

func (*CreateShoppingListRequest) Reset

func (x *CreateShoppingListRequest) Reset()

func (*CreateShoppingListRequest) String

func (x *CreateShoppingListRequest) String() string

type CreateShoppingListResponse

type CreateShoppingListResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShoppingListResponse) Descriptor deprecated

func (*CreateShoppingListResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateShoppingListResponse.ProtoReflect.Descriptor instead.

func (*CreateShoppingListResponse) GetId

func (*CreateShoppingListResponse) ProtoMessage

func (*CreateShoppingListResponse) ProtoMessage()

func (*CreateShoppingListResponse) ProtoReflect

func (*CreateShoppingListResponse) Reset

func (x *CreateShoppingListResponse) Reset()

func (*CreateShoppingListResponse) String

func (x *CreateShoppingListResponse) String() string

type CreateShoppingList_Item

type CreateShoppingList_Item struct {
	ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	StoreId   string `protobuf:"bytes,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	Quantity  int32  `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShoppingList_Item) Descriptor deprecated

func (*CreateShoppingList_Item) Descriptor() ([]byte, []int)

Deprecated: Use CreateShoppingList_Item.ProtoReflect.Descriptor instead.

func (*CreateShoppingList_Item) GetProductId

func (x *CreateShoppingList_Item) GetProductId() string

func (*CreateShoppingList_Item) GetQuantity

func (x *CreateShoppingList_Item) GetQuantity() int32

func (*CreateShoppingList_Item) GetStoreId

func (x *CreateShoppingList_Item) GetStoreId() string

func (*CreateShoppingList_Item) ProtoMessage

func (*CreateShoppingList_Item) ProtoMessage()

func (*CreateShoppingList_Item) ProtoReflect

func (x *CreateShoppingList_Item) ProtoReflect() protoreflect.Message

func (*CreateShoppingList_Item) Reset

func (x *CreateShoppingList_Item) Reset()

func (*CreateShoppingList_Item) String

func (x *CreateShoppingList_Item) String() string

type CreatedShoppingList

type CreatedShoppingList struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatedShoppingList) Descriptor deprecated

func (*CreatedShoppingList) Descriptor() ([]byte, []int)

Deprecated: Use CreatedShoppingList.ProtoReflect.Descriptor instead.

func (*CreatedShoppingList) GetId

func (x *CreatedShoppingList) GetId() string

func (*CreatedShoppingList) Key

func (*CreatedShoppingList) Key() string

Replies

func (*CreatedShoppingList) ProtoMessage

func (*CreatedShoppingList) ProtoMessage()

func (*CreatedShoppingList) ProtoReflect

func (x *CreatedShoppingList) ProtoReflect() protoreflect.Message

func (*CreatedShoppingList) Reset

func (x *CreatedShoppingList) Reset()

func (*CreatedShoppingList) String

func (x *CreatedShoppingList) String() string

type DepotServiceClient

type DepotServiceClient interface {
	CreateShoppingList(ctx context.Context, in *CreateShoppingListRequest, opts ...grpc.CallOption) (*CreateShoppingListResponse, error)
	CancelShoppingList(ctx context.Context, in *CancelShoppingListRequest, opts ...grpc.CallOption) (*CancelShoppingListResponse, error)
	AssignShoppingList(ctx context.Context, in *AssignShoppingListRequest, opts ...grpc.CallOption) (*AssignShoppingListResponse, error)
	CompleteShoppingList(ctx context.Context, in *CompleteShoppingListRequest, opts ...grpc.CallOption) (*CompleteShoppingListResponse, error)
}

DepotServiceClient is the client API for DepotService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DepotServiceServer

type DepotServiceServer interface {
	CreateShoppingList(context.Context, *CreateShoppingListRequest) (*CreateShoppingListResponse, error)
	CancelShoppingList(context.Context, *CancelShoppingListRequest) (*CancelShoppingListResponse, error)
	AssignShoppingList(context.Context, *AssignShoppingListRequest) (*AssignShoppingListResponse, error)
	CompleteShoppingList(context.Context, *CompleteShoppingListRequest) (*CompleteShoppingListResponse, error)
	// contains filtered or unexported methods
}

DepotServiceServer is the server API for DepotService service. All implementations must embed UnimplementedDepotServiceServer for forward compatibility

type InitiateShopping

type InitiateShopping struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*InitiateShopping) Descriptor deprecated

func (*InitiateShopping) Descriptor() ([]byte, []int)

Deprecated: Use InitiateShopping.ProtoReflect.Descriptor instead.

func (*InitiateShopping) GetId

func (x *InitiateShopping) GetId() string

func (*InitiateShopping) Key

func (*InitiateShopping) Key() string

func (*InitiateShopping) ProtoMessage

func (*InitiateShopping) ProtoMessage()

func (*InitiateShopping) ProtoReflect

func (x *InitiateShopping) ProtoReflect() protoreflect.Message

func (*InitiateShopping) Reset

func (x *InitiateShopping) Reset()

func (*InitiateShopping) String

func (x *InitiateShopping) String() string

type Item

type Item struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Quantity int32  `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

func (*Item) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) GetQuantity

func (x *Item) GetQuantity() int32

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

func (x *Item) ProtoReflect() protoreflect.Message

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type MockDepotServiceClient

type MockDepotServiceClient struct {
	mock.Mock
}

MockDepotServiceClient is an autogenerated mock type for the DepotServiceClient type

func NewMockDepotServiceClient

func NewMockDepotServiceClient(t mockConstructorTestingTNewMockDepotServiceClient) *MockDepotServiceClient

NewMockDepotServiceClient creates a new instance of MockDepotServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockDepotServiceClient) AssignShoppingList

AssignShoppingList provides a mock function with given fields: ctx, in, opts

func (*MockDepotServiceClient) CancelShoppingList

CancelShoppingList provides a mock function with given fields: ctx, in, opts

func (*MockDepotServiceClient) CompleteShoppingList

CompleteShoppingList provides a mock function with given fields: ctx, in, opts

func (*MockDepotServiceClient) CreateShoppingList

CreateShoppingList provides a mock function with given fields: ctx, in, opts

type MockDepotServiceServer

type MockDepotServiceServer struct {
	mock.Mock
}

MockDepotServiceServer is an autogenerated mock type for the DepotServiceServer type

func NewMockDepotServiceServer

func NewMockDepotServiceServer(t mockConstructorTestingTNewMockDepotServiceServer) *MockDepotServiceServer

NewMockDepotServiceServer creates a new instance of MockDepotServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockDepotServiceServer) AssignShoppingList

AssignShoppingList provides a mock function with given fields: _a0, _a1

func (*MockDepotServiceServer) CancelShoppingList

CancelShoppingList provides a mock function with given fields: _a0, _a1

func (*MockDepotServiceServer) CompleteShoppingList

CompleteShoppingList provides a mock function with given fields: _a0, _a1

func (*MockDepotServiceServer) CreateShoppingList

CreateShoppingList provides a mock function with given fields: _a0, _a1

type MockUnsafeDepotServiceServer

type MockUnsafeDepotServiceServer struct {
	mock.Mock
}

MockUnsafeDepotServiceServer is an autogenerated mock type for the UnsafeDepotServiceServer type

func NewMockUnsafeDepotServiceServer

func NewMockUnsafeDepotServiceServer(t mockConstructorTestingTNewMockUnsafeDepotServiceServer) *MockUnsafeDepotServiceServer

NewMockUnsafeDepotServiceServer creates a new instance of MockUnsafeDepotServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

type OrderItem

type OrderItem struct {
	ProductId string `protobuf:"bytes,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
	StoreId   string `protobuf:"bytes,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
	Quantity  int32  `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderItem) Descriptor deprecated

func (*OrderItem) Descriptor() ([]byte, []int)

Deprecated: Use OrderItem.ProtoReflect.Descriptor instead.

func (*OrderItem) GetProductId

func (x *OrderItem) GetProductId() string

func (*OrderItem) GetQuantity

func (x *OrderItem) GetQuantity() int32

func (*OrderItem) GetStoreId

func (x *OrderItem) GetStoreId() string

func (*OrderItem) ProtoMessage

func (*OrderItem) ProtoMessage()

func (*OrderItem) ProtoReflect

func (x *OrderItem) ProtoReflect() protoreflect.Message

func (*OrderItem) Reset

func (x *OrderItem) Reset()

func (*OrderItem) String

func (x *OrderItem) String() string

type ShoppingList

type ShoppingList struct {
	Id            string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrderId       string           `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Stops         map[string]*Stop `` /* 151-byte string literal not displayed */
	AssignedBotId string           `protobuf:"bytes,4,opt,name=assigned_bot_id,json=assignedBotId,proto3" json:"assigned_bot_id,omitempty"`
	Status        string           `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ShoppingList) Descriptor deprecated

func (*ShoppingList) Descriptor() ([]byte, []int)

Deprecated: Use ShoppingList.ProtoReflect.Descriptor instead.

func (*ShoppingList) GetAssignedBotId

func (x *ShoppingList) GetAssignedBotId() string

func (*ShoppingList) GetId

func (x *ShoppingList) GetId() string

func (*ShoppingList) GetOrderId

func (x *ShoppingList) GetOrderId() string

func (*ShoppingList) GetStatus

func (x *ShoppingList) GetStatus() string

func (*ShoppingList) GetStops

func (x *ShoppingList) GetStops() map[string]*Stop

func (*ShoppingList) ProtoMessage

func (*ShoppingList) ProtoMessage()

func (*ShoppingList) ProtoReflect

func (x *ShoppingList) ProtoReflect() protoreflect.Message

func (*ShoppingList) Reset

func (x *ShoppingList) Reset()

func (*ShoppingList) String

func (x *ShoppingList) String() string

type ShoppingListCompleted

type ShoppingListCompleted struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ShoppingListCompleted) Descriptor deprecated

func (*ShoppingListCompleted) Descriptor() ([]byte, []int)

Deprecated: Use ShoppingListCompleted.ProtoReflect.Descriptor instead.

func (*ShoppingListCompleted) GetId

func (x *ShoppingListCompleted) GetId() string

func (*ShoppingListCompleted) GetOrderId

func (x *ShoppingListCompleted) GetOrderId() string

func (*ShoppingListCompleted) Key

Events

func (*ShoppingListCompleted) ProtoMessage

func (*ShoppingListCompleted) ProtoMessage()

func (*ShoppingListCompleted) ProtoReflect

func (x *ShoppingListCompleted) ProtoReflect() protoreflect.Message

func (*ShoppingListCompleted) Reset

func (x *ShoppingListCompleted) Reset()

func (*ShoppingListCompleted) String

func (x *ShoppingListCompleted) String() string

type Stop

type Stop struct {
	StoreName     string           `protobuf:"bytes,1,opt,name=store_name,json=storeName,proto3" json:"store_name,omitempty"`
	StoreLocation string           `protobuf:"bytes,2,opt,name=store_location,json=storeLocation,proto3" json:"store_location,omitempty"`
	Items         map[string]*Item `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Stop) Descriptor deprecated

func (*Stop) Descriptor() ([]byte, []int)

Deprecated: Use Stop.ProtoReflect.Descriptor instead.

func (*Stop) GetItems

func (x *Stop) GetItems() map[string]*Item

func (*Stop) GetStoreLocation

func (x *Stop) GetStoreLocation() string

func (*Stop) GetStoreName

func (x *Stop) GetStoreName() string

func (*Stop) ProtoMessage

func (*Stop) ProtoMessage()

func (*Stop) ProtoReflect

func (x *Stop) ProtoReflect() protoreflect.Message

func (*Stop) Reset

func (x *Stop) Reset()

func (*Stop) String

func (x *Stop) String() string

type UnimplementedDepotServiceServer

type UnimplementedDepotServiceServer struct {
}

UnimplementedDepotServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDepotServiceServer) AssignShoppingList

func (UnimplementedDepotServiceServer) CancelShoppingList

func (UnimplementedDepotServiceServer) CreateShoppingList

type UnsafeDepotServiceServer

type UnsafeDepotServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDepotServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DepotServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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