grpc

package
v0.0.0-...-59477fb Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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 JobService

type JobService struct {
	proto.JobsServiceServer
	// contains filtered or unexported fields
}

func NewJobService

func NewJobService(log logger.Logger, jobDB models.JobDB, jobsProducer models.JobsProducer, jobsScheduler scheduler.Scheduler) *JobService

func (*JobService) CreateJob

func (*JobService) DeleteJob

func (*JobService) GetJob

func (js *JobService) GetJob(ctx context.Context, req *proto.GetJobRequest) (*proto.Job, error)

func (*JobService) ListJobs

func (*JobService) LoadScheduledJobs

func (js *JobService) LoadScheduledJobs()

exported method (Started with uppercase)

func (*JobService) UpdateJob

Jump to

Keyboard shortcuts

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