service

package
v0.0.0-...-00f4dc5 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewDemoService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type DemoService

type DemoService struct {
	pb.UnimplementedDemoServer
	// contains filtered or unexported fields
}

func NewDemoService

func NewDemoService(db *biz.DemoBase, logger log.Logger) *DemoService

func (*DemoService) CreateDemo

func (s *DemoService) CreateDemo(ctx context.Context, req *pb.CreateDemoRequest) (*pb.CreateDemoReply, error)

func (*DemoService) DeleteDemo

func (s *DemoService) DeleteDemo(ctx context.Context, req *pb.DeleteDemoRequest) (*pb.DeleteDemoReply, error)

func (*DemoService) GetDemo

func (s *DemoService) GetDemo(ctx context.Context, req *pb.GetDemoRequest) (*pb.GetDemoReply, error)

func (*DemoService) ListDemo

func (s *DemoService) ListDemo(req *pb.ListDemoRequest, ds pb.Demo_ListDemoServer) error

func (*DemoService) UpdateDemo

func (s *DemoService) UpdateDemo(ctx context.Context, req *pb.UpdateDemoRequest) (*pb.UpdateDemoReply, error)

Jump to

Keyboard shortcuts

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