service

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 8 Imported by: 0

README

#Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewSkuService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type SkuService

type SkuService struct {
	pb.UnimplementedSkuServer
	// contains filtered or unexported fields
}

func NewSkuService

func NewSkuService(sc *biz.SkuCase, logger log.Logger) *SkuService

func (*SkuService) GetSku

func (s *SkuService) GetSku(ctx context.Context, req *pb.GetSkuRequest) (*pb.GetSkuReply, error)

func (*SkuService) Ping

func (s *SkuService) Ping(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)

Source Files

  • service.go
  • sku.go

Jump to

Keyboard shortcuts

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