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 ¶
SubmissionHandler is any handler capable to work on submissions
var DefaultSubmissionHandler SubmissionHandler
DefaultSubmissionHandler is the default submission handler
Click to show internal directories.
Click to hide internal directories.