background

package
v0.0.0-...-c6dbdfa Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultLogger *logrus.Logger

DefaultLogger is the logger writing worker-logs to file

Functions

This section is empty.

Types

type DummySubmissionHandler

type DummySubmissionHandler struct{}

DummySubmissionHandler is doing nothing (for testing)

func (*DummySubmissionHandler) Handle

func (h *DummySubmissionHandler) Handle(workerBody []byte) error

Handle reads message and does nothing

type RealSubmissionHandler

type RealSubmissionHandler struct{}

RealSubmissionHandler is starting docker to test submissions

func (*RealSubmissionHandler) Handle

func (h *RealSubmissionHandler) Handle(body []byte) error

Handle reads message and test submission using docker

type SubmissionHandler

type SubmissionHandler interface {
	Handle(body []byte) error
}

SubmissionHandler is any handler capable to work on submissions

var DefaultSubmissionHandler SubmissionHandler

DefaultSubmissionHandler is the default submission handler

Jump to

Keyboard shortcuts

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