scheduletask

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchedulerTask

type SchedulerTask struct {
	// contains filtered or unexported fields
}

func NewSchedulerTask

func NewSchedulerTask(svcCtx *svc.ServiceContext) *SchedulerTask

func (*SchedulerTask) Register

func (s *SchedulerTask) Register()

Register adds task to cron. | 在此处定义定时任务

func (*SchedulerTask) Start

func (s *SchedulerTask) Start()

Start starts the server.

func (*SchedulerTask) Stop

func (s *SchedulerTask) Stop()

Stop stops the server.

Jump to

Keyboard shortcuts

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