handler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cron

type Cron struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *Cron

func (*Cron) Delete

func (c *Cron) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error

func (*Cron) Jobs

func (c *Cron) Jobs(ctx context.Context, req *pb.JobsRequest, rsp *pb.JobsResponse) error

func (*Cron) Schedule

func (c *Cron) Schedule(ctx context.Context, req *pb.ScheduleRequest, rsp *pb.ScheduleResponse) error

func (*Cron) Setup

func (c *Cron) Setup(job *pb.Job) *cron.Cron

func (*Cron) Start

func (c *Cron) Start()

Jump to

Keyboard shortcuts

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