storefront

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	StorefrontService service.StorefrontService
}

func New

func New(params Params) *Handler

func (*Handler) Activate

func (h *Handler) Activate(ctx context.Context, request *proto.ActivateStorefrontRequest) (*empty.Empty, error)

func (*Handler) Create

func (*Handler) Delete

func (h *Handler) Delete(ctx context.Context, request *proto.DeleteStorefrontRequest) (*empty.Empty, error)

func (*Handler) GetActive

func (h *Handler) GetActive(ctx context.Context, emp *empty.Empty) (*proto.StorefrontWithBlocks, error)

func (*Handler) GetByFilter

func (*Handler) GetByID

func (*Handler) Update

type Params

type Params struct {
	fx.In

	StorefrontService service.StorefrontService
}

Jump to

Keyboard shortcuts

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