Documentation ¶
Index ¶
- Variables
- type CheckService
- func (s *CheckService) CreateCheck(ctx context.Context, req *pb.CreateCheckRequest) (*pb.CreateCheckReply, error)
- func (s *CheckService) DeleteCheck(ctx context.Context, req *pb.DeleteCheckRequest) (*pb.DeleteCheckReply, error)
- func (s *CheckService) GetCheckById(ctx context.Context, req *pb.GetCheckByIdRequest) (*pb.GetCheckByIdReply, error)
- func (s *CheckService) ListChecks(ctx context.Context, req *pb.ListChecksRequest) (*pb.ListChecksReply, error)
- func (s *CheckService) SubmitCheck(ctx context.Context, req *pb.SubmitCheckRequest) (*pb.SubmitCheckReply, error)
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 (s *CheckService) GetCheckById(ctx context.Context, req *pb.GetCheckByIdRequest) (*pb.GetCheckByIdReply, error)
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)
Click to show internal directories.
Click to hide internal directories.