command

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessNext

func ProcessNext(reader domain.JobsReader, writer domain.JobsWriter, handler domain.Handler) func(context.Context) error

func Queue

func Queue(writer domain.JobsWriter) func(context.Context, QueueCommand) error

Types

type QueueCommand

type QueueCommand struct {
	Name    string `json:"name"`
	Payload string `json:"payload"`
}

Jump to

Keyboard shortcuts

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