biz

package
v0.0.0-...-fefde71 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MenuService_AddMenuItem_FullMethodName   = "/restaurant.MenuService/AddMenuItem"
	MenuService_GetMenuItem_FullMethodName   = "/restaurant.MenuService/GetMenuItem"
	MenuService_ListMenuItems_FullMethodName = "/restaurant.MenuService/ListMenuItems"
)
View Source
const (
	RestaurantService_CreateRestaurant_FullMethodName         = "/restaurant.RestaurantService/CreateRestaurant"
	RestaurantService_ListRestaurants_FullMethodName          = "/restaurant.RestaurantService/ListRestaurants"
	RestaurantService_GetRestaurant_FullMethodName            = "/restaurant.RestaurantService/GetRestaurant"
	RestaurantService_ListRestaurantsNonStream_FullMethodName = "/restaurant.RestaurantService/ListRestaurantsNonStream"
	RestaurantService_PlaceOrder_FullMethodName               = "/restaurant.RestaurantService/PlaceOrder"
	RestaurantService_ListOrders_FullMethodName               = "/restaurant.RestaurantService/ListOrders"
)

Variables

View Source
var File_domain_restaurant_biz_menu_proto protoreflect.FileDescriptor
View Source
var File_domain_restaurant_biz_restaurant_proto protoreflect.FileDescriptor
View Source
var MenuService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "restaurant.MenuService",
	HandlerType: (*MenuServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddMenuItem",
			Handler:    _MenuService_AddMenuItem_Handler,
		},
		{
			MethodName: "GetMenuItem",
			Handler:    _MenuService_GetMenuItem_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListMenuItems",
			Handler:       _MenuService_ListMenuItems_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "domain/restaurant/biz/menu.proto",
}

MenuService_ServiceDesc is the grpc.ServiceDesc for MenuService 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 RestaurantService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "restaurant.RestaurantService",
	HandlerType: (*RestaurantServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRestaurant",
			Handler:    _RestaurantService_CreateRestaurant_Handler,
		},
		{
			MethodName: "GetRestaurant",
			Handler:    _RestaurantService_GetRestaurant_Handler,
		},
		{
			MethodName: "ListRestaurantsNonStream",
			Handler:    _RestaurantService_ListRestaurantsNonStream_Handler,
		},
		{
			MethodName: "PlaceOrder",
			Handler:    _RestaurantService_PlaceOrder_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListRestaurants",
			Handler:       _RestaurantService_ListRestaurants_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListOrders",
			Handler:       _RestaurantService_ListOrders_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "domain/restaurant/biz/restaurant.proto",
}

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

Functions

func RegisterMenuServiceServer

func RegisterMenuServiceServer(s grpc.ServiceRegistrar, srv MenuServiceServer)

func RegisterRestaurantServiceServer

func RegisterRestaurantServiceServer(s grpc.ServiceRegistrar, srv RestaurantServiceServer)

Types

type AddMenuItemRequest

type AddMenuItemRequest struct {
	RestaurantId string  `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	Name         string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description  string  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Price        float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"`
	// contains filtered or unexported fields
}

func (*AddMenuItemRequest) Descriptor deprecated

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

Deprecated: Use AddMenuItemRequest.ProtoReflect.Descriptor instead.

func (*AddMenuItemRequest) GetDescription

func (x *AddMenuItemRequest) GetDescription() string

func (*AddMenuItemRequest) GetName

func (x *AddMenuItemRequest) GetName() string

func (*AddMenuItemRequest) GetPrice

func (x *AddMenuItemRequest) GetPrice() float64

func (*AddMenuItemRequest) GetRestaurantId

func (x *AddMenuItemRequest) GetRestaurantId() string

func (*AddMenuItemRequest) ProtoMessage

func (*AddMenuItemRequest) ProtoMessage()

func (*AddMenuItemRequest) ProtoReflect

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

func (*AddMenuItemRequest) Reset

func (x *AddMenuItemRequest) Reset()

func (*AddMenuItemRequest) String

func (x *AddMenuItemRequest) String() string

type CreateRestaurantRequest

type CreateRestaurantRequest struct {
	Name    string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address *model.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRestaurantRequest) Descriptor deprecated

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

Deprecated: Use CreateRestaurantRequest.ProtoReflect.Descriptor instead.

func (*CreateRestaurantRequest) GetAddress

func (x *CreateRestaurantRequest) GetAddress() *model.Address

func (*CreateRestaurantRequest) GetName

func (x *CreateRestaurantRequest) GetName() string

func (*CreateRestaurantRequest) ProtoMessage

func (*CreateRestaurantRequest) ProtoMessage()

func (*CreateRestaurantRequest) ProtoReflect

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

func (*CreateRestaurantRequest) Reset

func (x *CreateRestaurantRequest) Reset()

func (*CreateRestaurantRequest) String

func (x *CreateRestaurantRequest) String() string

type GetMenuItemRequest

type GetMenuItemRequest struct {
	RestaurantId string `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	MenuItemId   string `protobuf:"bytes,2,opt,name=menu_item_id,json=menuItemId,proto3" json:"menu_item_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMenuItemRequest) Descriptor deprecated

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

Deprecated: Use GetMenuItemRequest.ProtoReflect.Descriptor instead.

func (*GetMenuItemRequest) GetMenuItemId

func (x *GetMenuItemRequest) GetMenuItemId() string

func (*GetMenuItemRequest) GetRestaurantId

func (x *GetMenuItemRequest) GetRestaurantId() string

func (*GetMenuItemRequest) ProtoMessage

func (*GetMenuItemRequest) ProtoMessage()

func (*GetMenuItemRequest) ProtoReflect

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

func (*GetMenuItemRequest) Reset

func (x *GetMenuItemRequest) Reset()

func (*GetMenuItemRequest) String

func (x *GetMenuItemRequest) String() string

type GetRestaurantRequest

type GetRestaurantRequest struct {
	RestaurantId string `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRestaurantRequest) Descriptor deprecated

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

Deprecated: Use GetRestaurantRequest.ProtoReflect.Descriptor instead.

func (*GetRestaurantRequest) GetRestaurantId

func (x *GetRestaurantRequest) GetRestaurantId() string

func (*GetRestaurantRequest) ProtoMessage

func (*GetRestaurantRequest) ProtoMessage()

func (*GetRestaurantRequest) ProtoReflect

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

func (*GetRestaurantRequest) Reset

func (x *GetRestaurantRequest) Reset()

func (*GetRestaurantRequest) String

func (x *GetRestaurantRequest) String() string

type ListMenuItemsRequest

type ListMenuItemsRequest struct {
	RestaurantId string `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMenuItemsRequest) Descriptor deprecated

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

Deprecated: Use ListMenuItemsRequest.ProtoReflect.Descriptor instead.

func (*ListMenuItemsRequest) GetRestaurantId

func (x *ListMenuItemsRequest) GetRestaurantId() string

func (*ListMenuItemsRequest) ProtoMessage

func (*ListMenuItemsRequest) ProtoMessage()

func (*ListMenuItemsRequest) ProtoReflect

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

func (*ListMenuItemsRequest) Reset

func (x *ListMenuItemsRequest) Reset()

func (*ListMenuItemsRequest) String

func (x *ListMenuItemsRequest) String() string

type ListOrdersRequest

type ListOrdersRequest struct {

	// 餐廳ID
	RestaurantId string `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	// 客戶ID
	CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrdersRequest) Descriptor deprecated

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

Deprecated: Use ListOrdersRequest.ProtoReflect.Descriptor instead.

func (*ListOrdersRequest) GetCustomerId

func (x *ListOrdersRequest) GetCustomerId() string

func (*ListOrdersRequest) GetRestaurantId

func (x *ListOrdersRequest) GetRestaurantId() string

func (*ListOrdersRequest) ProtoMessage

func (*ListOrdersRequest) ProtoMessage()

func (*ListOrdersRequest) ProtoReflect

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

func (*ListOrdersRequest) Reset

func (x *ListOrdersRequest) Reset()

func (*ListOrdersRequest) String

func (x *ListOrdersRequest) String() string

type ListRestaurantsRequest

type ListRestaurantsRequest struct {
	Page     int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRestaurantsRequest) Descriptor deprecated

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

Deprecated: Use ListRestaurantsRequest.ProtoReflect.Descriptor instead.

func (*ListRestaurantsRequest) GetPage

func (x *ListRestaurantsRequest) GetPage() int64

func (*ListRestaurantsRequest) GetPageSize

func (x *ListRestaurantsRequest) GetPageSize() int64

func (*ListRestaurantsRequest) ProtoMessage

func (*ListRestaurantsRequest) ProtoMessage()

func (*ListRestaurantsRequest) ProtoReflect

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

func (*ListRestaurantsRequest) Reset

func (x *ListRestaurantsRequest) Reset()

func (*ListRestaurantsRequest) String

func (x *ListRestaurantsRequest) String() string

type ListRestaurantsResponse

type ListRestaurantsResponse struct {
	Restaurants []*model.Restaurant `protobuf:"bytes,1,rep,name=restaurants,proto3" json:"restaurants,omitempty"`
	Total       int64               `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRestaurantsResponse) Descriptor deprecated

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

Deprecated: Use ListRestaurantsResponse.ProtoReflect.Descriptor instead.

func (*ListRestaurantsResponse) GetRestaurants

func (x *ListRestaurantsResponse) GetRestaurants() []*model.Restaurant

func (*ListRestaurantsResponse) GetTotal

func (x *ListRestaurantsResponse) GetTotal() int64

func (*ListRestaurantsResponse) ProtoMessage

func (*ListRestaurantsResponse) ProtoMessage()

func (*ListRestaurantsResponse) ProtoReflect

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

func (*ListRestaurantsResponse) Reset

func (x *ListRestaurantsResponse) Reset()

func (*ListRestaurantsResponse) String

func (x *ListRestaurantsResponse) String() string
type MenuServiceClient interface {
	AddMenuItem(ctx context.Context, in *AddMenuItemRequest, opts ...grpc.CallOption) (*model.MenuItem, error)
	GetMenuItem(ctx context.Context, in *GetMenuItemRequest, opts ...grpc.CallOption) (*model.MenuItem, error)
	ListMenuItems(ctx context.Context, in *ListMenuItemsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[model.MenuItem], error)
}

MenuServiceClient is the client API for MenuService 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 MenuServiceServer interface {
	AddMenuItem(context.Context, *AddMenuItemRequest) (*model.MenuItem, error)
	GetMenuItem(context.Context, *GetMenuItemRequest) (*model.MenuItem, error)
	ListMenuItems(*ListMenuItemsRequest, grpc.ServerStreamingServer[model.MenuItem]) error
}

MenuServiceServer is the server API for MenuService service. All implementations should embed UnimplementedMenuServiceServer for forward compatibility.

type MenuService_ListMenuItemsClient = grpc.ServerStreamingClient[model.MenuItem]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MenuService_ListMenuItemsServer = grpc.ServerStreamingServer[model.MenuItem]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type MockMenuServiceClient

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

MockMenuServiceClient is a mock of MenuServiceClient interface.

func NewMockMenuServiceClient

func NewMockMenuServiceClient(ctrl *gomock.Controller) *MockMenuServiceClient

NewMockMenuServiceClient creates a new mock instance.

func (*MockMenuServiceClient) AddMenuItem

AddMenuItem mocks base method.

func (*MockMenuServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMenuServiceClient) GetMenuItem

GetMenuItem mocks base method.

func (*MockMenuServiceClient) ListMenuItems

ListMenuItems mocks base method.

type MockMenuServiceClientMockRecorder

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

MockMenuServiceClientMockRecorder is the mock recorder for MockMenuServiceClient.

func (*MockMenuServiceClientMockRecorder) AddMenuItem

func (mr *MockMenuServiceClientMockRecorder) AddMenuItem(ctx, in interface{}, opts ...interface{}) *gomock.Call

AddMenuItem indicates an expected call of AddMenuItem.

func (*MockMenuServiceClientMockRecorder) GetMenuItem

func (mr *MockMenuServiceClientMockRecorder) GetMenuItem(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetMenuItem indicates an expected call of GetMenuItem.

func (*MockMenuServiceClientMockRecorder) ListMenuItems

func (mr *MockMenuServiceClientMockRecorder) ListMenuItems(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListMenuItems indicates an expected call of ListMenuItems.

type MockMenuServiceServer

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

MockMenuServiceServer is a mock of MenuServiceServer interface.

func NewMockMenuServiceServer

func NewMockMenuServiceServer(ctrl *gomock.Controller) *MockMenuServiceServer

NewMockMenuServiceServer creates a new mock instance.

func (*MockMenuServiceServer) AddMenuItem

AddMenuItem mocks base method.

func (*MockMenuServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMenuServiceServer) GetMenuItem

GetMenuItem mocks base method.

func (*MockMenuServiceServer) ListMenuItems

ListMenuItems mocks base method.

type MockMenuServiceServerMockRecorder

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

MockMenuServiceServerMockRecorder is the mock recorder for MockMenuServiceServer.

func (*MockMenuServiceServerMockRecorder) AddMenuItem

func (mr *MockMenuServiceServerMockRecorder) AddMenuItem(ctx, in interface{}) *gomock.Call

AddMenuItem indicates an expected call of AddMenuItem.

func (*MockMenuServiceServerMockRecorder) GetMenuItem

func (mr *MockMenuServiceServerMockRecorder) GetMenuItem(ctx, in interface{}) *gomock.Call

GetMenuItem indicates an expected call of GetMenuItem.

func (*MockMenuServiceServerMockRecorder) ListMenuItems

func (mr *MockMenuServiceServerMockRecorder) ListMenuItems(blob, server interface{}) *gomock.Call

ListMenuItems indicates an expected call of ListMenuItems.

type MockMenuService_ListMenuItemsClient

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

MockMenuService_ListMenuItemsClient is a mock of MenuService_ListMenuItemsClient interface.

func NewMockMenuService_ListMenuItemsClient

func NewMockMenuService_ListMenuItemsClient(ctrl *gomock.Controller) *MockMenuService_ListMenuItemsClient

NewMockMenuService_ListMenuItemsClient creates a new mock instance.

func (*MockMenuService_ListMenuItemsClient) CloseSend

CloseSend mocks base method.

func (*MockMenuService_ListMenuItemsClient) Context

Context mocks base method.

func (*MockMenuService_ListMenuItemsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMenuService_ListMenuItemsClient) Header

Header mocks base method.

func (*MockMenuService_ListMenuItemsClient) Recv

Recv mocks base method.

func (*MockMenuService_ListMenuItemsClient) RecvMsg

func (m *MockMenuService_ListMenuItemsClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockMenuService_ListMenuItemsClient) SendMsg

func (m *MockMenuService_ListMenuItemsClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockMenuService_ListMenuItemsClient) Trailer

Trailer mocks base method.

type MockMenuService_ListMenuItemsClientMockRecorder

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

MockMenuService_ListMenuItemsClientMockRecorder is the mock recorder for MockMenuService_ListMenuItemsClient.

func (*MockMenuService_ListMenuItemsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockMenuService_ListMenuItemsClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockMenuService_ListMenuItemsClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockMenuService_ListMenuItemsClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockMenuService_ListMenuItemsClientMockRecorder) RecvMsg

func (mr *MockMenuService_ListMenuItemsClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockMenuService_ListMenuItemsClientMockRecorder) SendMsg

func (mr *MockMenuService_ListMenuItemsClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockMenuService_ListMenuItemsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockMenuService_ListMenuItemsServer

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

MockMenuService_ListMenuItemsServer is a mock of MenuService_ListMenuItemsServer interface.

func NewMockMenuService_ListMenuItemsServer

func NewMockMenuService_ListMenuItemsServer(ctrl *gomock.Controller) *MockMenuService_ListMenuItemsServer

NewMockMenuService_ListMenuItemsServer creates a new mock instance.

func (*MockMenuService_ListMenuItemsServer) Context

Context mocks base method.

func (*MockMenuService_ListMenuItemsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMenuService_ListMenuItemsServer) RecvMsg

func (m *MockMenuService_ListMenuItemsServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockMenuService_ListMenuItemsServer) Send

Send mocks base method.

func (*MockMenuService_ListMenuItemsServer) SendHeader

SendHeader mocks base method.

func (*MockMenuService_ListMenuItemsServer) SendMsg

func (m *MockMenuService_ListMenuItemsServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockMenuService_ListMenuItemsServer) SetHeader

SetHeader mocks base method.

func (*MockMenuService_ListMenuItemsServer) SetTrailer

func (m *MockMenuService_ListMenuItemsServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockMenuService_ListMenuItemsServerMockRecorder

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

MockMenuService_ListMenuItemsServerMockRecorder is the mock recorder for MockMenuService_ListMenuItemsServer.

func (*MockMenuService_ListMenuItemsServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockMenuService_ListMenuItemsServerMockRecorder) RecvMsg

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockMenuService_ListMenuItemsServerMockRecorder) Send

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockMenuService_ListMenuItemsServerMockRecorder) SendHeader

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockMenuService_ListMenuItemsServerMockRecorder) SendMsg

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockMenuService_ListMenuItemsServerMockRecorder) SetHeader

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockMenuService_ListMenuItemsServerMockRecorder) SetTrailer

func (mr *MockMenuService_ListMenuItemsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockRestaurantServiceClient

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

MockRestaurantServiceClient is a mock of RestaurantServiceClient interface.

func NewMockRestaurantServiceClient

func NewMockRestaurantServiceClient(ctrl *gomock.Controller) *MockRestaurantServiceClient

NewMockRestaurantServiceClient creates a new mock instance.

func (*MockRestaurantServiceClient) CreateRestaurant

CreateRestaurant mocks base method.

func (*MockRestaurantServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantServiceClient) GetRestaurant

GetRestaurant mocks base method.

func (*MockRestaurantServiceClient) ListOrders

ListOrders mocks base method.

func (*MockRestaurantServiceClient) ListRestaurants

ListRestaurants mocks base method.

func (*MockRestaurantServiceClient) ListRestaurantsNonStream

ListRestaurantsNonStream mocks base method.

func (*MockRestaurantServiceClient) PlaceOrder

PlaceOrder mocks base method.

type MockRestaurantServiceClientMockRecorder

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

MockRestaurantServiceClientMockRecorder is the mock recorder for MockRestaurantServiceClient.

func (*MockRestaurantServiceClientMockRecorder) CreateRestaurant

func (mr *MockRestaurantServiceClientMockRecorder) CreateRestaurant(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateRestaurant indicates an expected call of CreateRestaurant.

func (*MockRestaurantServiceClientMockRecorder) GetRestaurant

func (mr *MockRestaurantServiceClientMockRecorder) GetRestaurant(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetRestaurant indicates an expected call of GetRestaurant.

func (*MockRestaurantServiceClientMockRecorder) ListOrders

func (mr *MockRestaurantServiceClientMockRecorder) ListOrders(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListOrders indicates an expected call of ListOrders.

func (*MockRestaurantServiceClientMockRecorder) ListRestaurants

func (mr *MockRestaurantServiceClientMockRecorder) ListRestaurants(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListRestaurants indicates an expected call of ListRestaurants.

func (*MockRestaurantServiceClientMockRecorder) ListRestaurantsNonStream

func (mr *MockRestaurantServiceClientMockRecorder) ListRestaurantsNonStream(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListRestaurantsNonStream indicates an expected call of ListRestaurantsNonStream.

func (*MockRestaurantServiceClientMockRecorder) PlaceOrder

func (mr *MockRestaurantServiceClientMockRecorder) PlaceOrder(ctx, in interface{}, opts ...interface{}) *gomock.Call

PlaceOrder indicates an expected call of PlaceOrder.

type MockRestaurantServiceServer

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

MockRestaurantServiceServer is a mock of RestaurantServiceServer interface.

func NewMockRestaurantServiceServer

func NewMockRestaurantServiceServer(ctrl *gomock.Controller) *MockRestaurantServiceServer

NewMockRestaurantServiceServer creates a new mock instance.

func (*MockRestaurantServiceServer) CreateRestaurant

CreateRestaurant mocks base method.

func (*MockRestaurantServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantServiceServer) GetRestaurant

GetRestaurant mocks base method.

func (*MockRestaurantServiceServer) ListOrders

ListOrders mocks base method.

func (*MockRestaurantServiceServer) ListRestaurants

ListRestaurants mocks base method.

func (*MockRestaurantServiceServer) ListRestaurantsNonStream

ListRestaurantsNonStream mocks base method.

func (*MockRestaurantServiceServer) PlaceOrder

PlaceOrder mocks base method.

type MockRestaurantServiceServerMockRecorder

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

MockRestaurantServiceServerMockRecorder is the mock recorder for MockRestaurantServiceServer.

func (*MockRestaurantServiceServerMockRecorder) CreateRestaurant

func (mr *MockRestaurantServiceServerMockRecorder) CreateRestaurant(ctx, in interface{}) *gomock.Call

CreateRestaurant indicates an expected call of CreateRestaurant.

func (*MockRestaurantServiceServerMockRecorder) GetRestaurant

func (mr *MockRestaurantServiceServerMockRecorder) GetRestaurant(ctx, in interface{}) *gomock.Call

GetRestaurant indicates an expected call of GetRestaurant.

func (*MockRestaurantServiceServerMockRecorder) ListOrders

func (mr *MockRestaurantServiceServerMockRecorder) ListOrders(blob, server interface{}) *gomock.Call

ListOrders indicates an expected call of ListOrders.

func (*MockRestaurantServiceServerMockRecorder) ListRestaurants

func (mr *MockRestaurantServiceServerMockRecorder) ListRestaurants(blob, server interface{}) *gomock.Call

ListRestaurants indicates an expected call of ListRestaurants.

func (*MockRestaurantServiceServerMockRecorder) ListRestaurantsNonStream

func (mr *MockRestaurantServiceServerMockRecorder) ListRestaurantsNonStream(ctx, in interface{}) *gomock.Call

ListRestaurantsNonStream indicates an expected call of ListRestaurantsNonStream.

func (*MockRestaurantServiceServerMockRecorder) PlaceOrder

func (mr *MockRestaurantServiceServerMockRecorder) PlaceOrder(ctx, in interface{}) *gomock.Call

PlaceOrder indicates an expected call of PlaceOrder.

type MockRestaurantService_ListOrdersClient

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

MockRestaurantService_ListOrdersClient is a mock of RestaurantService_ListOrdersClient interface.

func NewMockRestaurantService_ListOrdersClient

func NewMockRestaurantService_ListOrdersClient(ctrl *gomock.Controller) *MockRestaurantService_ListOrdersClient

NewMockRestaurantService_ListOrdersClient creates a new mock instance.

func (*MockRestaurantService_ListOrdersClient) CloseSend

CloseSend mocks base method.

func (*MockRestaurantService_ListOrdersClient) Context

Context mocks base method.

func (*MockRestaurantService_ListOrdersClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantService_ListOrdersClient) Header

Header mocks base method.

func (*MockRestaurantService_ListOrdersClient) Recv

Recv mocks base method.

func (*MockRestaurantService_ListOrdersClient) RecvMsg

func (m *MockRestaurantService_ListOrdersClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockRestaurantService_ListOrdersClient) SendMsg

func (m *MockRestaurantService_ListOrdersClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockRestaurantService_ListOrdersClient) Trailer

Trailer mocks base method.

type MockRestaurantService_ListOrdersClientMockRecorder

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

MockRestaurantService_ListOrdersClientMockRecorder is the mock recorder for MockRestaurantService_ListOrdersClient.

func (*MockRestaurantService_ListOrdersClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockRestaurantService_ListOrdersClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRestaurantService_ListOrdersClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockRestaurantService_ListOrdersClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockRestaurantService_ListOrdersClientMockRecorder) RecvMsg

func (mr *MockRestaurantService_ListOrdersClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockRestaurantService_ListOrdersClientMockRecorder) SendMsg

func (mr *MockRestaurantService_ListOrdersClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockRestaurantService_ListOrdersClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockRestaurantService_ListOrdersServer

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

MockRestaurantService_ListOrdersServer is a mock of RestaurantService_ListOrdersServer interface.

func NewMockRestaurantService_ListOrdersServer

func NewMockRestaurantService_ListOrdersServer(ctrl *gomock.Controller) *MockRestaurantService_ListOrdersServer

NewMockRestaurantService_ListOrdersServer creates a new mock instance.

func (*MockRestaurantService_ListOrdersServer) Context

Context mocks base method.

func (*MockRestaurantService_ListOrdersServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantService_ListOrdersServer) RecvMsg

func (m *MockRestaurantService_ListOrdersServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockRestaurantService_ListOrdersServer) Send

Send mocks base method.

func (*MockRestaurantService_ListOrdersServer) SendHeader

SendHeader mocks base method.

func (*MockRestaurantService_ListOrdersServer) SendMsg

func (m *MockRestaurantService_ListOrdersServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockRestaurantService_ListOrdersServer) SetHeader

SetHeader mocks base method.

func (*MockRestaurantService_ListOrdersServer) SetTrailer

SetTrailer mocks base method.

type MockRestaurantService_ListOrdersServerMockRecorder

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

MockRestaurantService_ListOrdersServerMockRecorder is the mock recorder for MockRestaurantService_ListOrdersServer.

func (*MockRestaurantService_ListOrdersServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRestaurantService_ListOrdersServerMockRecorder) RecvMsg

func (mr *MockRestaurantService_ListOrdersServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockRestaurantService_ListOrdersServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockRestaurantService_ListOrdersServerMockRecorder) SendHeader

func (mr *MockRestaurantService_ListOrdersServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockRestaurantService_ListOrdersServerMockRecorder) SendMsg

func (mr *MockRestaurantService_ListOrdersServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockRestaurantService_ListOrdersServerMockRecorder) SetHeader

func (mr *MockRestaurantService_ListOrdersServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockRestaurantService_ListOrdersServerMockRecorder) SetTrailer

func (mr *MockRestaurantService_ListOrdersServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockRestaurantService_ListRestaurantsClient

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

MockRestaurantService_ListRestaurantsClient is a mock of RestaurantService_ListRestaurantsClient interface.

func NewMockRestaurantService_ListRestaurantsClient

func NewMockRestaurantService_ListRestaurantsClient(ctrl *gomock.Controller) *MockRestaurantService_ListRestaurantsClient

NewMockRestaurantService_ListRestaurantsClient creates a new mock instance.

func (*MockRestaurantService_ListRestaurantsClient) CloseSend

CloseSend mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) Context

Context mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantService_ListRestaurantsClient) Header

Header mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) Recv

Recv mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) RecvMsg

func (m *MockRestaurantService_ListRestaurantsClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) SendMsg

func (m *MockRestaurantService_ListRestaurantsClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockRestaurantService_ListRestaurantsClient) Trailer

Trailer mocks base method.

type MockRestaurantService_ListRestaurantsClientMockRecorder

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

MockRestaurantService_ListRestaurantsClientMockRecorder is the mock recorder for MockRestaurantService_ListRestaurantsClient.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockRestaurantService_ListRestaurantsClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockRestaurantService_ListRestaurantsServer

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

MockRestaurantService_ListRestaurantsServer is a mock of RestaurantService_ListRestaurantsServer interface.

func NewMockRestaurantService_ListRestaurantsServer

func NewMockRestaurantService_ListRestaurantsServer(ctrl *gomock.Controller) *MockRestaurantService_ListRestaurantsServer

NewMockRestaurantService_ListRestaurantsServer creates a new mock instance.

func (*MockRestaurantService_ListRestaurantsServer) Context

Context mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRestaurantService_ListRestaurantsServer) RecvMsg

func (m *MockRestaurantService_ListRestaurantsServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) Send

Send mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) SendHeader

SendHeader mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) SendMsg

func (m *MockRestaurantService_ListRestaurantsServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) SetHeader

SetHeader mocks base method.

func (*MockRestaurantService_ListRestaurantsServer) SetTrailer

SetTrailer mocks base method.

type MockRestaurantService_ListRestaurantsServerMockRecorder

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

MockRestaurantService_ListRestaurantsServerMockRecorder is the mock recorder for MockRestaurantService_ListRestaurantsServer.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) SendHeader

func (mr *MockRestaurantService_ListRestaurantsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) SetHeader

func (mr *MockRestaurantService_ListRestaurantsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockRestaurantService_ListRestaurantsServerMockRecorder) SetTrailer

func (mr *MockRestaurantService_ListRestaurantsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type PlaceOrderRequest

type PlaceOrderRequest struct {

	// 餐廳ID
	RestaurantId string `protobuf:"bytes,1,opt,name=restaurant_id,json=restaurantId,proto3" json:"restaurant_id,omitempty"`
	// 客戶ID
	CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// 訂單內容
	Dishes []*model.Dish `protobuf:"bytes,3,rep,name=dishes,proto3" json:"dishes,omitempty"`
	// 訂單備註
	Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"`
	// contains filtered or unexported fields
}

func (*PlaceOrderRequest) Descriptor deprecated

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

Deprecated: Use PlaceOrderRequest.ProtoReflect.Descriptor instead.

func (*PlaceOrderRequest) GetCustomerId

func (x *PlaceOrderRequest) GetCustomerId() string

func (*PlaceOrderRequest) GetDishes

func (x *PlaceOrderRequest) GetDishes() []*model.Dish

func (*PlaceOrderRequest) GetNotes

func (x *PlaceOrderRequest) GetNotes() string

func (*PlaceOrderRequest) GetRestaurantId

func (x *PlaceOrderRequest) GetRestaurantId() string

func (*PlaceOrderRequest) ProtoMessage

func (*PlaceOrderRequest) ProtoMessage()

func (*PlaceOrderRequest) ProtoReflect

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

func (*PlaceOrderRequest) Reset

func (x *PlaceOrderRequest) Reset()

func (*PlaceOrderRequest) String

func (x *PlaceOrderRequest) String() string

type PlaceOrderResponse

type PlaceOrderResponse struct {

	// 訂單ID
	OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// 訂單狀態
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// 預計完成時間
	EstimatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=estimated_at,json=estimatedAt,proto3" json:"estimated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*PlaceOrderResponse) Descriptor deprecated

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

Deprecated: Use PlaceOrderResponse.ProtoReflect.Descriptor instead.

func (*PlaceOrderResponse) GetEstimatedAt

func (x *PlaceOrderResponse) GetEstimatedAt() *timestamppb.Timestamp

func (*PlaceOrderResponse) GetOrderId

func (x *PlaceOrderResponse) GetOrderId() string

func (*PlaceOrderResponse) GetStatus

func (x *PlaceOrderResponse) GetStatus() string

func (*PlaceOrderResponse) ProtoMessage

func (*PlaceOrderResponse) ProtoMessage()

func (*PlaceOrderResponse) ProtoReflect

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

func (*PlaceOrderResponse) Reset

func (x *PlaceOrderResponse) Reset()

func (*PlaceOrderResponse) String

func (x *PlaceOrderResponse) String() string

type RestaurantServiceClient

type RestaurantServiceClient interface {
	CreateRestaurant(ctx context.Context, in *CreateRestaurantRequest, opts ...grpc.CallOption) (*model.Restaurant, error)
	ListRestaurants(ctx context.Context, in *ListRestaurantsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[model.Restaurant], error)
	GetRestaurant(ctx context.Context, in *GetRestaurantRequest, opts ...grpc.CallOption) (*model.Restaurant, error)
	ListRestaurantsNonStream(ctx context.Context, in *ListRestaurantsRequest, opts ...grpc.CallOption) (*ListRestaurantsResponse, error)
	PlaceOrder(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*PlaceOrderResponse, error)
	ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[model.Order], error)
}

RestaurantServiceClient is the client API for RestaurantService 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 RestaurantServiceServer

RestaurantServiceServer is the server API for RestaurantService service. All implementations should embed UnimplementedRestaurantServiceServer for forward compatibility.

type RestaurantService_ListOrdersClient

type RestaurantService_ListOrdersClient = grpc.ServerStreamingClient[model.Order]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type RestaurantService_ListOrdersServer

type RestaurantService_ListOrdersServer = grpc.ServerStreamingServer[model.Order]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type RestaurantService_ListRestaurantsClient

type RestaurantService_ListRestaurantsClient = grpc.ServerStreamingClient[model.Restaurant]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type RestaurantService_ListRestaurantsServer

type RestaurantService_ListRestaurantsServer = grpc.ServerStreamingServer[model.Restaurant]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type UnimplementedMenuServiceServer

type UnimplementedMenuServiceServer struct{}

UnimplementedMenuServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMenuServiceServer) AddMenuItem

func (UnimplementedMenuServiceServer) GetMenuItem

func (UnimplementedMenuServiceServer) ListMenuItems

type UnimplementedRestaurantServiceServer

type UnimplementedRestaurantServiceServer struct{}

UnimplementedRestaurantServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRestaurantServiceServer) CreateRestaurant

func (UnimplementedRestaurantServiceServer) GetRestaurant

func (UnimplementedRestaurantServiceServer) ListOrders

func (UnimplementedRestaurantServiceServer) ListRestaurants

func (UnimplementedRestaurantServiceServer) ListRestaurantsNonStream

func (UnimplementedRestaurantServiceServer) PlaceOrder

type UnsafeMenuServiceServer

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

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

type UnsafeRestaurantServiceServer

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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