order

package
v0.5.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddProductToCart      = grpc.NewMethod("AddProductToCart")
	RemoveProductFromCart = grpc.NewMethod("RemoveProductFromCart")
	GetCart               = grpc.NewMethod("GetCart")
	GetCurrentCart        = grpc.NewMethod("GetCurrentCart")
	GetCarts              = grpc.NewMethod("GetCarts")
	GetCartTotal          = grpc.NewMethod("GetCartTotal")
	PlaceOrder            = grpc.NewMethod("PlaceOrder")
	GetOrders             = grpc.NewMethod("GetOrders")
	GetOrder              = grpc.NewMethod("GetOrder")
)

Order service gRPC methods

View Source
var Interceptions = map[grpc.Method]grpc.Interception{
	AddProductToCart:      grpc.AccessToken,
	RemoveProductFromCart: grpc.AccessToken,
	GetCart:               grpc.AccessToken,
	GetCurrentCart:        grpc.AccessToken,
	GetCarts:              grpc.AccessToken,
	GetCartTotal:          grpc.AccessToken,
	PlaceOrder:            grpc.AccessToken,
	GetOrders:             grpc.AccessToken,
	GetOrder:              grpc.AccessToken,
}

Interceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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