Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config Encrypter encryption.Encrypter Session rest.Middleware Locale rest.Middleware Filter rest.Middleware StoreKey rest.Middleware CartRpc cartclient.CartClient CatalogRpc catalogclient.CatalogClient CustomerRpc customerclient.CustomerClient InventoryRpc inventoryclient.InventoryClient OthersBoughtRpc othersboughtclient.OthersBoughtClient PaymentRpc paymentclient.PaymentClient ShippingRpc shippingclient.ShippingClient SimilarProductsRpc similarproductsclient.SimilarProductsClient StoreRpc storeclient.StoreClient UserRpc userclient.UserClient WarehouseRpc warehouseclient.WarehouseClient }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.