worker

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Package worker provides action handlers, e.g. for moving or copying files or executing operating system commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFiles added in v0.1.10

func DeleteFiles(ctx *b.Context, spec m.Map, msg *b.Message)

DeleteFiles removes files given in the message's payload.

func Execute added in v0.1.9

func Execute(ctx *b.Context, spec m.Map, msg *b.Message)

Execute runs an operating system command.

func MoveFiles

func MoveFiles(ctx *b.Context, spec m.Map, msg *b.Message)

MoveFiles moves files given in the message's payload to the target directory specified in the action.

Types

This section is empty.

Jump to

Keyboard shortcuts

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