service

package
v0.0.0-...-fa05059 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewCheckService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type CheckService

type CheckService struct {
	pb.UnimplementedCheckServer
	// contains filtered or unexported fields
}

func NewCheckService

func NewCheckService(userClient userpb.UserClient, biz *biz.CheckBiz) *CheckService

func (*CheckService) CreateCheck

func (s *CheckService) CreateCheck(ctx context.Context, req *pb.CreateCheckRequest) (*pb.CreateCheckReply, error)

func (*CheckService) DeleteCheck

func (s *CheckService) DeleteCheck(ctx context.Context, req *pb.DeleteCheckRequest) (*pb.DeleteCheckReply, error)

func (*CheckService) GetCheckById

func (*CheckService) ListChecks

func (s *CheckService) ListChecks(ctx context.Context, req *pb.ListChecksRequest) (*pb.ListChecksReply, error)

func (*CheckService) SubmitCheck

func (s *CheckService) SubmitCheck(ctx context.Context, req *pb.SubmitCheckRequest) (*pb.SubmitCheckReply, error)

Jump to

Keyboard shortcuts

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