api

package
v0.0.0-...-90015ba Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductAPI

type ProductAPI struct {
	pb.UnimplementedGoProductApiServiceServer
	// contains filtered or unexported fields
}

func NewProductAPI

func NewProductAPI(s *product.Service) *ProductAPI

func (*ProductAPI) CreateProductV1

func (p *ProductAPI) CreateProductV1(
	ctx context.Context,
	req *pb.CreateProductV1Request,
) (*pb.CreateProductV1Response, error)

func (*ProductAPI) DescribeProductV1

func (p *ProductAPI) DescribeProductV1(
	ctx context.Context,
	req *pb.DescribeProductV1Request,
) (*pb.DescribeProductV1Response, error)

func (*ProductAPI) ListProductsV1

func (p *ProductAPI) ListProductsV1(
	ctx context.Context,
	req *pb.ListProductsV1Request,
) (*pb.ListProductsV1Response, error)

func (*ProductAPI) RemoveProductV1

func (p *ProductAPI) RemoveProductV1(
	ctx context.Context,
	req *pb.RemoveProductV1Request,
) (*pb.RemoveProductV1Response, error)

Jump to

Keyboard shortcuts

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