common

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecJob

type ExecJob struct {
	Cron    string `json:"cron"`
	Command string `json:"command"`
}

func (*ExecJob) GetCron

func (execjob *ExecJob) GetCron() string

func (*ExecJob) Run

func (execjob *ExecJob) Run()

func (*ExecJob) Serialize

func (execjob *ExecJob) Serialize() ([]byte, error)

func (*ExecJob) UnSerialize

func (execjob *ExecJob) UnSerialize(b []byte) error

Jump to

Keyboard shortcuts

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